SDL_DispatchGPUCompute

Dispatches compute work.

You must not call this function before binding a compute pipeline.

A VERY IMPORTANT NOTE If you dispatch multiple times in a compute pass, and the dispatches write to the same resource region as each other, there is no guarantee of which order the writes will occur. If the write order matters, you MUST end the compute pass and begin another one.

extern (C) nothrow @nogc extern
void
SDL_DispatchGPUCompute

Parameters

compute_pass SDL_GPUComputePass*

a compute pass handle.

groupcount_x Uint32

number of local workgroups to dispatch in the X dimension.

groupcount_y Uint32

number of local workgroups to dispatch in the Y dimension.

groupcount_z Uint32

number of local workgroups to dispatch in the Z dimension.

Meta