Hello Everyone
I apologize for the dumb question but I couldn’t find any answer to that anywhere.
If I do
commandBuffer.DispatchCompute(Program, MyKernel1, x, y, z);
commandBuffer.DispatchCompute(Program, MyKernel2, x, y, z);
Does that mean that MyKernel2 will only be executed AFTER MyKernel1 has completed?
If I do
commandBuffer.DispatchCompute(Program, MyKernel, x, y, z);
commandBuffer.DrawProceduralIndirect(matrix, material, 0, MeshTopology.Triangles, argBuffer, 0, properties);
Does that mean that the draw procedural will occur only AFTER MyKernel has completed?
If the answer to these questions is “no”, then is there a way to make it so?
Thank you very much.