remove command buffer from QueueDestroy calls
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
67e3a8799c
commit
5fe4c8dbf3
|
@ -925,7 +925,6 @@ REFRESHAPI void Refresh_GetBufferData(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroyTexture(
|
REFRESHAPI void Refresh_QueueDestroyTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Texture *texture
|
Refresh_Texture *texture
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -938,7 +937,6 @@ REFRESHAPI void Refresh_QueueDestroyTexture(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroySampler(
|
REFRESHAPI void Refresh_QueueDestroySampler(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Sampler *sampler
|
Refresh_Sampler *sampler
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -951,7 +949,6 @@ REFRESHAPI void Refresh_QueueDestroySampler(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroyBuffer(
|
REFRESHAPI void Refresh_QueueDestroyBuffer(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Buffer *buffer
|
Refresh_Buffer *buffer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -964,7 +961,6 @@ REFRESHAPI void Refresh_QueueDestroyBuffer(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroyShaderModule(
|
REFRESHAPI void Refresh_QueueDestroyShaderModule(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ShaderModule *shaderModule
|
Refresh_ShaderModule *shaderModule
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -977,7 +973,6 @@ REFRESHAPI void Refresh_QueueDestroyShaderModule(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroyComputePipeline(
|
REFRESHAPI void Refresh_QueueDestroyComputePipeline(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ComputePipeline *computePipeline
|
Refresh_ComputePipeline *computePipeline
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -990,7 +985,6 @@ REFRESHAPI void Refresh_QueueDestroyComputePipeline(
|
||||||
*/
|
*/
|
||||||
REFRESHAPI void Refresh_QueueDestroyGraphicsPipeline(
|
REFRESHAPI void Refresh_QueueDestroyGraphicsPipeline(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_GraphicsPipeline *graphicsPipeline
|
Refresh_GraphicsPipeline *graphicsPipeline
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -507,78 +507,66 @@ void Refresh_GetBufferData(
|
||||||
|
|
||||||
void Refresh_QueueDestroyTexture(
|
void Refresh_QueueDestroyTexture(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Texture *texture
|
Refresh_Texture *texture
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroyTexture(
|
device->QueueDestroyTexture(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
texture
|
texture
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_QueueDestroySampler(
|
void Refresh_QueueDestroySampler(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Sampler *sampler
|
Refresh_Sampler *sampler
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroySampler(
|
device->QueueDestroySampler(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
sampler
|
sampler
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_QueueDestroyBuffer(
|
void Refresh_QueueDestroyBuffer(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Buffer *buffer
|
Refresh_Buffer *buffer
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroyBuffer(
|
device->QueueDestroyBuffer(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
buffer
|
buffer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_QueueDestroyShaderModule(
|
void Refresh_QueueDestroyShaderModule(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ShaderModule *shaderModule
|
Refresh_ShaderModule *shaderModule
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroyShaderModule(
|
device->QueueDestroyShaderModule(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
shaderModule
|
shaderModule
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_QueueDestroyComputePipeline(
|
void Refresh_QueueDestroyComputePipeline(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ComputePipeline *computePipeline
|
Refresh_ComputePipeline *computePipeline
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroyComputePipeline(
|
device->QueueDestroyComputePipeline(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
computePipeline
|
computePipeline
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_QueueDestroyGraphicsPipeline(
|
void Refresh_QueueDestroyGraphicsPipeline(
|
||||||
Refresh_Device *device,
|
Refresh_Device *device,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_GraphicsPipeline *graphicsPipeline
|
Refresh_GraphicsPipeline *graphicsPipeline
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->QueueDestroyGraphicsPipeline(
|
device->QueueDestroyGraphicsPipeline(
|
||||||
device->driverData,
|
device->driverData,
|
||||||
commandBuffer,
|
|
||||||
graphicsPipeline
|
graphicsPipeline
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -346,37 +346,31 @@ struct Refresh_Device
|
||||||
|
|
||||||
void(*QueueDestroyTexture)(
|
void(*QueueDestroyTexture)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Texture *texture
|
Refresh_Texture *texture
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*QueueDestroySampler)(
|
void(*QueueDestroySampler)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Sampler *sampler
|
Refresh_Sampler *sampler
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*QueueDestroyBuffer)(
|
void(*QueueDestroyBuffer)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_Buffer *buffer
|
Refresh_Buffer *buffer
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*QueueDestroyShaderModule)(
|
void(*QueueDestroyShaderModule)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ShaderModule *shaderModule
|
Refresh_ShaderModule *shaderModule
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*QueueDestroyComputePipeline)(
|
void(*QueueDestroyComputePipeline)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_ComputePipeline *computePipeline
|
Refresh_ComputePipeline *computePipeline
|
||||||
);
|
);
|
||||||
|
|
||||||
void(*QueueDestroyGraphicsPipeline)(
|
void(*QueueDestroyGraphicsPipeline)(
|
||||||
Refresh_Renderer *driverData,
|
Refresh_Renderer *driverData,
|
||||||
Refresh_CommandBuffer *commandBuffer,
|
|
||||||
Refresh_GraphicsPipeline *graphicsPipeline
|
Refresh_GraphicsPipeline *graphicsPipeline
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue