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

View File

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

View File

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