buffer bindings should actually use uint64_t
continuous-integration/drone/push Build is failing Details

abi_break
cosmonaut 2024-02-15 20:05:18 -08:00
parent 218587bb6a
commit c779718967
2 changed files with 6 additions and 6 deletions

View File

@ -816,7 +816,7 @@ REFRESHAPI void Refresh_BindVertexBuffers(
uint32_t firstBinding, uint32_t firstBinding,
uint32_t bindingCount, uint32_t bindingCount,
Refresh_GpuBuffer **pBuffers, Refresh_GpuBuffer **pBuffers,
uint32_t *pOffsets uint64_t *pOffsets
); );
/* Binds an index buffer for use with subsequent draw calls. */ /* Binds an index buffer for use with subsequent draw calls. */
@ -824,7 +824,7 @@ REFRESHAPI void Refresh_BindIndexBuffer(
Refresh_Device *device, Refresh_Device *device,
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer, Refresh_GpuBuffer *buffer,
uint32_t offset, uint64_t offset,
Refresh_IndexElementSize indexElementSize Refresh_IndexElementSize indexElementSize
); );
@ -1159,7 +1159,7 @@ REFRESHAPI void Refresh_CopyTextureToBuffer(
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice, Refresh_TextureSlice *textureSlice,
Refresh_GpuBuffer *buffer, Refresh_GpuBuffer *buffer,
Refresh_BufferImageCopy *copyParameters Refresh_BufferImageCopy *copyParams
); );
/* Copies data from a buffer to a texture slice. */ /* Copies data from a buffer to a texture slice. */

View File

@ -290,14 +290,14 @@ struct Refresh_Device
uint32_t firstBinding, uint32_t firstBinding,
uint32_t bindingCount, uint32_t bindingCount,
Refresh_GpuBuffer **pBuffers, Refresh_GpuBuffer **pBuffers,
uint32_t *pOffsets uint64_t *pOffsets
); );
void (*BindIndexBuffer)( void (*BindIndexBuffer)(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
Refresh_GpuBuffer *buffer, Refresh_GpuBuffer *buffer,
uint32_t offset, uint64_t offset,
Refresh_IndexElementSize indexElementSize Refresh_IndexElementSize indexElementSize
); );
@ -487,7 +487,7 @@ struct Refresh_Device
Refresh_CommandBuffer *commandBuffer, Refresh_CommandBuffer *commandBuffer,
Refresh_TextureSlice *textureSlice, Refresh_TextureSlice *textureSlice,
Refresh_GpuBuffer *buffer, Refresh_GpuBuffer *buffer,
Refresh_BufferImageCopy *copyParameters Refresh_BufferImageCopy *copyParams
); );
void (*CopyBufferToTexture)( void (*CopyBufferToTexture)(