Buffer and Submission Rework #1
|
@ -983,7 +983,7 @@ REFRESHAPI void Refresh_SetBufferData(
|
|||
*/
|
||||
REFRESHAPI uint32_t Refresh_PushVertexShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_GraphicsPipeline *pipeline,
|
||||
Refresh_CommandBuffer * commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
@ -1000,7 +1000,7 @@ REFRESHAPI uint32_t Refresh_PushVertexShaderUniforms(
|
|||
*/
|
||||
REFRESHAPI uint32_t Refresh_PushFragmentShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_GraphicsPipeline *pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
@ -1017,7 +1017,7 @@ REFRESHAPI uint32_t Refresh_PushFragmentShaderUniforms(
|
|||
*/
|
||||
REFRESHAPI uint32_t Refresh_PushComputeShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_ComputePipeline *pipeline,
|
||||
Refresh_CommandBuffer * commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
|
|
@ -470,14 +470,14 @@ void Refresh_SetBufferData(
|
|||
|
||||
uint32_t Refresh_PushVertexShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_GraphicsPipeline *pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
) {
|
||||
if (device == NULL) { return 0; }
|
||||
return device->PushVertexShaderUniforms(
|
||||
device->driverData,
|
||||
pipeline,
|
||||
commandBuffer,
|
||||
data,
|
||||
dataLengthInBytes
|
||||
);
|
||||
|
@ -485,14 +485,14 @@ uint32_t Refresh_PushVertexShaderUniforms(
|
|||
|
||||
uint32_t Refresh_PushFragmentShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_GraphicsPipeline * pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
) {
|
||||
if (device == NULL) { return 0; }
|
||||
return device->PushFragmentShaderUniforms(
|
||||
device->driverData,
|
||||
pipeline,
|
||||
commandBuffer,
|
||||
data,
|
||||
dataLengthInBytes
|
||||
);
|
||||
|
@ -500,14 +500,14 @@ uint32_t Refresh_PushFragmentShaderUniforms(
|
|||
|
||||
uint32_t Refresh_PushComputeShaderUniforms(
|
||||
Refresh_Device *device,
|
||||
Refresh_ComputePipeline *pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
) {
|
||||
if (device == NULL) { return 0; }
|
||||
return device->PushComputeShaderUniforms(
|
||||
device->driverData,
|
||||
pipeline,
|
||||
commandBuffer,
|
||||
data,
|
||||
dataLengthInBytes
|
||||
);
|
||||
|
|
|
@ -314,21 +314,21 @@ struct Refresh_Device
|
|||
|
||||
uint32_t(*PushVertexShaderUniforms)(
|
||||
Refresh_Renderer *driverData,
|
||||
Refresh_GraphicsPipeline* pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
||||
uint32_t(*PushFragmentShaderUniforms)(
|
||||
Refresh_Renderer *driverData,
|
||||
Refresh_GraphicsPipeline *pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
||||
uint32_t (*PushComputeShaderUniforms)(
|
||||
Refresh_Renderer *driverData,
|
||||
Refresh_ComputePipeline *pipeline,
|
||||
Refresh_CommandBuffer *commandBuffer,
|
||||
void *data,
|
||||
uint32_t dataLengthInBytes
|
||||
);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue