specify buffer type in param name
continuous-integration/drone/push Build is failing Details

abi_break
cosmonaut 2024-02-23 09:50:48 -08:00
parent 2f57a05c85
commit 4e1705d1bd
3 changed files with 24 additions and 24 deletions

View File

@ -730,7 +730,7 @@ REFRESHAPI void Refresh_QueueDestroySampler(
*/
REFRESHAPI void Refresh_QueueDestroyGpuBuffer(
Refresh_Device *device,
Refresh_GpuBuffer *buffer
Refresh_GpuBuffer *gpuBuffer
);
/* Sends a buffer to be destroyed by the renderer. Note that we call it
@ -740,7 +740,7 @@ REFRESHAPI void Refresh_QueueDestroyGpuBuffer(
*/
REFRESHAPI void Refresh_QueueDestroyTransferBuffer(
Refresh_Device *device,
Refresh_TransferBuffer *buffer
Refresh_TransferBuffer *transferBuffer
);
/* Sends a shader module to be destroyed by the renderer. Note that we call it
@ -829,7 +829,7 @@ REFRESHAPI void Refresh_BindVertexBuffers(
REFRESHAPI void Refresh_BindIndexBuffer(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint64_t offset,
Refresh_IndexElementSize indexElementSize
);
@ -955,7 +955,7 @@ REFRESHAPI void Refresh_DrawPrimitives(
REFRESHAPI void Refresh_DrawPrimitivesIndirect(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint32_t offsetInBytes,
uint32_t drawCount,
uint32_t stride
@ -1152,7 +1152,7 @@ REFRESHAPI void Refresh_CopyTextureToBuffer(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_BufferImageCopy *copyParams
);
@ -1160,7 +1160,7 @@ REFRESHAPI void Refresh_CopyTextureToBuffer(
REFRESHAPI void Refresh_CopyBufferToTexture(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_BufferImageCopy *copyParams
);

View File

@ -345,23 +345,23 @@ void Refresh_QueueDestroySampler(
void Refresh_QueueDestroyGpuBuffer(
Refresh_Device *device,
Refresh_GpuBuffer *buffer
Refresh_GpuBuffer *gpuBuffer
) {
NULL_RETURN(device);
device->QueueDestroyGpuBuffer(
device->driverData,
buffer
gpuBuffer
);
}
void Refresh_QueueDestroyTransferBuffer(
Refresh_Device *device,
Refresh_TransferBuffer *buffer
Refresh_TransferBuffer *transferBuffer
) {
NULL_RETURN(device);
device->QueueDestroyTransferBuffer(
device->driverData,
buffer
transferBuffer
);
}
@ -478,7 +478,7 @@ void Refresh_BindVertexBuffers(
void Refresh_BindIndexBuffer(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint64_t offset,
Refresh_IndexElementSize indexElementSize
) {
@ -486,7 +486,7 @@ void Refresh_BindIndexBuffer(
device->BindIndexBuffer(
device->driverData,
commandBuffer,
buffer,
gpuBuffer,
offset,
indexElementSize
);
@ -606,7 +606,7 @@ void Refresh_DrawPrimitives(
void Refresh_DrawPrimitivesIndirect(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint32_t offsetInBytes,
uint32_t drawCount,
uint32_t stride
@ -615,7 +615,7 @@ void Refresh_DrawPrimitivesIndirect(
device->DrawPrimitivesIndirect(
device->driverData,
commandBuffer,
buffer,
gpuBuffer,
offsetInBytes,
drawCount,
stride
@ -864,7 +864,7 @@ void Refresh_CopyTextureToBuffer(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_BufferImageCopy *copyParameters
) {
NULL_RETURN(device);
@ -872,7 +872,7 @@ void Refresh_CopyTextureToBuffer(
device->driverData,
commandBuffer,
textureSlice,
buffer,
gpuBuffer,
copyParameters
);
}
@ -880,7 +880,7 @@ void Refresh_CopyTextureToBuffer(
void Refresh_CopyBufferToTexture(
Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_BufferImageCopy *copyParams
) {
@ -888,7 +888,7 @@ void Refresh_CopyBufferToTexture(
device->CopyBufferToTexture(
device->driverData,
commandBuffer,
buffer,
gpuBuffer,
textureSlice,
copyParams
);

View File

@ -233,12 +233,12 @@ struct Refresh_Device
void (*QueueDestroyGpuBuffer)(
Refresh_Renderer *driverData,
Refresh_GpuBuffer *buffer
Refresh_GpuBuffer *gpuBuffer
);
void (*QueueDestroyTransferBuffer)(
Refresh_Renderer *driverData,
Refresh_TransferBuffer *buffer
Refresh_TransferBuffer *transferBuffer
);
void (*QueueDestroyShaderModule)(
@ -296,7 +296,7 @@ struct Refresh_Device
void (*BindIndexBuffer)(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint64_t offset,
Refresh_IndexElementSize indexElementSize
);
@ -356,7 +356,7 @@ struct Refresh_Device
void (*DrawPrimitivesIndirect)(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
uint32_t offsetInBytes,
uint32_t drawCount,
uint32_t stride
@ -480,14 +480,14 @@ struct Refresh_Device
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_BufferImageCopy *copyParams
);
void (*CopyBufferToTexture)(
Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer,
Refresh_GpuBuffer *gpuBuffer,
Refresh_TextureSlice *textureSlice,
Refresh_BufferImageCopy *copyParams
);