add command buffer to Pass functions
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
342a7f9ef6
commit
80914e9c38
|
@ -980,7 +980,10 @@ REFRESHAPI void Refresh_EndRenderPass(
|
||||||
/* Compute Pass */
|
/* Compute Pass */
|
||||||
|
|
||||||
/* Begins a compute pass. */
|
/* Begins a compute pass. */
|
||||||
REFRESHAPI void Refresh_BeginComputePass(Refresh_Device *device);
|
REFRESHAPI void Refresh_BeginComputePass(
|
||||||
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
|
);
|
||||||
|
|
||||||
/* Binds a compute pipeline to the compute bind point. */
|
/* Binds a compute pipeline to the compute bind point. */
|
||||||
REFRESHAPI void Refresh_BindComputePipeline(
|
REFRESHAPI void Refresh_BindComputePipeline(
|
||||||
|
@ -1053,7 +1056,10 @@ REFRESHAPI void Refresh_DispatchCompute(
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Ends the current compute pass. */
|
/* Ends the current compute pass. */
|
||||||
REFRESHAPI void Refresh_EndComputePass(Refresh_Device *device);
|
REFRESHAPI void Refresh_EndComputePass(
|
||||||
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
|
);
|
||||||
|
|
||||||
/* CpuBuffer Map */
|
/* CpuBuffer Map */
|
||||||
|
|
||||||
|
@ -1078,7 +1084,10 @@ REFRESHAPI void Refresh_UnmapCpuBuffer(
|
||||||
/* Copy Pass */
|
/* Copy Pass */
|
||||||
|
|
||||||
/* Begins a copy pass. */
|
/* Begins a copy pass. */
|
||||||
REFRESHAPI void Refresh_BeginCopyPass(Refresh_Device *device);
|
REFRESHAPI void Refresh_BeginCopyPass(
|
||||||
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
|
);
|
||||||
|
|
||||||
/* CPU-to-GPU copies occur on the GPU timeline.
|
/* CPU-to-GPU copies occur on the GPU timeline.
|
||||||
*
|
*
|
||||||
|
@ -1176,7 +1185,10 @@ REFRESHAPI void Refresh_GenerateMipmaps(
|
||||||
Refresh_Texture *texture
|
Refresh_Texture *texture
|
||||||
);
|
);
|
||||||
|
|
||||||
REFRESHAPI void Refresh_EndCopyPass(Refresh_Device *device);
|
REFRESHAPI void Refresh_EndCopyPass(
|
||||||
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
|
);
|
||||||
|
|
||||||
/* Ends a copy pass. */
|
/* Ends a copy pass. */
|
||||||
|
|
||||||
|
|
|
@ -652,11 +652,13 @@ void Refresh_EndRenderPass(
|
||||||
/* Compute Pass */
|
/* Compute Pass */
|
||||||
|
|
||||||
void Refresh_BeginComputePass(
|
void Refresh_BeginComputePass(
|
||||||
Refresh_Device *device
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->BeginComputePass(
|
device->BeginComputePass(
|
||||||
device->driverData
|
device->driverData,
|
||||||
|
commandBuffer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -736,11 +738,13 @@ void Refresh_DispatchCompute(
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_EndComputePass(
|
void Refresh_EndComputePass(
|
||||||
Refresh_Device *device
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->EndComputePass(
|
device->EndComputePass(
|
||||||
device->driverData
|
device->driverData,
|
||||||
|
commandBuffer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -775,11 +779,13 @@ void Refresh_UnmapCpuBuffer(
|
||||||
/* Copy Pass */
|
/* Copy Pass */
|
||||||
|
|
||||||
void Refresh_BeginCopyPass(
|
void Refresh_BeginCopyPass(
|
||||||
Refresh_Device *device
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->BeginCopyPass(
|
device->BeginCopyPass(
|
||||||
device->driverData
|
device->driverData,
|
||||||
|
commandBuffer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -931,11 +937,13 @@ void Refresh_GenerateMipmaps(
|
||||||
}
|
}
|
||||||
|
|
||||||
void Refresh_EndCopyPass(
|
void Refresh_EndCopyPass(
|
||||||
Refresh_Device *device
|
Refresh_Device *device,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
) {
|
) {
|
||||||
NULL_RETURN(device);
|
NULL_RETURN(device);
|
||||||
device->EndCopyPass(
|
device->EndCopyPass(
|
||||||
device->driverData
|
device->driverData,
|
||||||
|
commandBuffer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -378,7 +378,8 @@ struct Refresh_Device
|
||||||
/* Compute Pass */
|
/* Compute Pass */
|
||||||
|
|
||||||
void (*BeginComputePass)(
|
void (*BeginComputePass)(
|
||||||
Refresh_Renderer *driverData
|
Refresh_Renderer *driverData,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*BindComputePipeline)(
|
void (*BindComputePipeline)(
|
||||||
|
@ -417,7 +418,8 @@ struct Refresh_Device
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*EndComputePass)(
|
void (*EndComputePass)(
|
||||||
Refresh_Renderer *driverData
|
Refresh_Renderer *driverData,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
/* CpuBuffer map/unmap */
|
/* CpuBuffer map/unmap */
|
||||||
|
@ -437,7 +439,8 @@ struct Refresh_Device
|
||||||
/* Copy Pass */
|
/* Copy Pass */
|
||||||
|
|
||||||
void (*BeginCopyPass)(
|
void (*BeginCopyPass)(
|
||||||
Refresh_Renderer *driverData
|
Refresh_Renderer *driverData,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*UploadToTexture)(
|
void (*UploadToTexture)(
|
||||||
|
@ -510,7 +513,8 @@ struct Refresh_Device
|
||||||
);
|
);
|
||||||
|
|
||||||
void (*EndCopyPass)(
|
void (*EndCopyPass)(
|
||||||
Refresh_Renderer *driverData
|
Refresh_Renderer *driverData,
|
||||||
|
Refresh_CommandBuffer *commandBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Submission/Presentation */
|
/* Submission/Presentation */
|
||||||
|
|
Loading…
Reference in New Issue