rearrange copy params order
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
80914e9c38
commit
218587bb6a
|
@ -1064,6 +1064,8 @@ REFRESHAPI void Refresh_EndComputePass(
|
||||||
/* CpuBuffer Map */
|
/* CpuBuffer Map */
|
||||||
|
|
||||||
/* Maps a CpuBuffer to host memory. Returns a pointer that can be copied to.
|
/* Maps a CpuBuffer to host memory. Returns a pointer that can be copied to.
|
||||||
|
*
|
||||||
|
* NOTE: Mapping a CpuBuffer that is already mapped is an error.
|
||||||
*
|
*
|
||||||
* offsetInBytes: The offset of the buffer to map.
|
* offsetInBytes: The offset of the buffer to map.
|
||||||
* sizeInBytes: The number of bytes of memory to map.
|
* sizeInBytes: The number of bytes of memory to map.
|
||||||
|
@ -1102,8 +1104,8 @@ REFRESHAPI void Refresh_UploadToTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_CpuBuffer *cpuBuffer,
|
Refresh_CpuBuffer *cpuBuffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Uploads data from a CpuBuffer to a GpuBuffer. */
|
/* Uploads data from a CpuBuffer to a GpuBuffer. */
|
||||||
|
@ -1165,8 +1167,8 @@ REFRESHAPI void Refresh_CopyBufferToTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_GpuBuffer *buffer,
|
Refresh_GpuBuffer *buffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Copies data from a buffer to a buffer. */
|
/* Copies data from a buffer to a buffer. */
|
||||||
|
|
|
@ -793,16 +793,16 @@ void Refresh_UploadToTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_CpuBuffer *cpuBuffer,
|
Refresh_CpuBuffer *cpuBuffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->UploadToTexture(
|
device->UploadToTexture(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
cpuBuffer,
|
cpuBuffer,
|
||||||
copyParams,
|
textureSlice,
|
||||||
textureSlice
|
copyParams
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -893,16 +893,16 @@ void Refresh_CopyBufferToTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_GpuBuffer *buffer,
|
Refresh_GpuBuffer *buffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->CopyBufferToTexture(
|
device->CopyBufferToTexture(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
commandBuffer,
|
||||||
buffer,
|
buffer,
|
||||||
copyParams,
|
textureSlice,
|
||||||
textureSlice
|
copyParams
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -447,8 +447,8 @@ struct Refresh_Device
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_CpuBuffer *cpuBuffer,
|
Refresh_CpuBuffer *cpuBuffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*UploadToBuffer)(
|
void (*UploadToBuffer)(
|
||||||
|
@ -494,8 +494,8 @@ struct Refresh_Device
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
Refresh_CommandBuffer *commandBuffer,
|
||||||
Refresh_GpuBuffer *buffer,
|
Refresh_GpuBuffer *buffer,
|
||||||
Refresh_BufferImageCopy *copyParams,
|
Refresh_TextureSlice *textureSlice,
|
||||||
Refresh_TextureSlice *textureSlice
|
Refresh_BufferImageCopy *copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*CopyBufferToBuffer)(
|
void (*CopyBufferToBuffer)(
|
||||||
|
|
Loading…
Reference in New Issue