rename PushShaderParams to PushShaderUniforms
continuous-integration/drone/push Build is passing Details

pull/1/head
cosmonaut 2021-01-31 19:37:16 -08:00
parent 254d209a48
commit 76c845cbb4
3 changed files with 11 additions and 11 deletions

View File

@ -464,14 +464,14 @@ void Refresh_SetBufferData(
);
}
uint32_t Refresh_PushVertexShaderParams(
uint32_t Refresh_PushVertexShaderUniforms(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
void *data,
uint32_t elementCount
) {
if (device == NULL) { return 0; }
return device->PushVertexShaderParams(
return device->PushVertexShaderUniforms(
device->driverData,
commandBuffer,
data,
@ -479,14 +479,14 @@ uint32_t Refresh_PushVertexShaderParams(
);
}
uint32_t Refresh_PushFragmentShaderParams(
uint32_t Refresh_PushFragmentShaderUniforms(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
void *data,
uint32_t elementCount
) {
if (device == NULL) { return 0; }
return device->PushFragmentShaderParams(
return device->PushFragmentShaderUniforms(
device->driverData,
commandBuffer,
data,

View File

@ -310,14 +310,14 @@ struct Refresh_Device
uint32_t dataLength
);
uint32_t(*PushVertexShaderParams)(
uint32_t(*PushVertexShaderUniforms)(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
void *data,
uint32_t elementCount
);
uint32_t(*PushFragmentShaderParams)(
uint32_t(*PushFragmentShaderUniforms)(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
void *data,
@ -516,8 +516,8 @@ struct Refresh_Device
ASSIGN_DRIVER_FUNC(CopyTextureToTexture, name) \
ASSIGN_DRIVER_FUNC(CopyTextureToBuffer, name) \
ASSIGN_DRIVER_FUNC(SetBufferData, name) \
ASSIGN_DRIVER_FUNC(PushVertexShaderParams, name) \
ASSIGN_DRIVER_FUNC(PushFragmentShaderParams, name) \
ASSIGN_DRIVER_FUNC(PushVertexShaderUniforms, name) \
ASSIGN_DRIVER_FUNC(PushFragmentShaderUniforms, name) \
ASSIGN_DRIVER_FUNC(PushComputeShaderParams, name) \
ASSIGN_DRIVER_FUNC(BindVertexSamplers, name) \
ASSIGN_DRIVER_FUNC(BindFragmentSamplers, name) \

View File

@ -5907,7 +5907,7 @@ static void VULKAN_INTERNAL_MaybeExpandStagingBuffer(
Refresh_LogError("Failed to expand texture staging buffer!");
return;
}
}
static void VULKAN_INTERNAL_MaybeBeginTransferCommandBuffer(
@ -6476,7 +6476,7 @@ static void VULKAN_SetBufferData(
#undef SUBBUF
}
static uint32_t VULKAN_PushVertexShaderParams(
static uint32_t VULKAN_PushVertexShaderUniforms(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
void *data,
@ -6512,7 +6512,7 @@ static uint32_t VULKAN_PushVertexShaderParams(
return renderer->vertexUBOOffset;
}
static uint32_t VULKAN_PushFragmentShaderParams(
static uint32_t VULKAN_PushFragmentShaderUniforms(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
void *data,