gl_NumWorkGroups doesn't compile when the target is DirectX
abdullahoday710 opened this issue · 1 comments
abdullahoday710 commented
compiling a compute shader with shaderc
that uses gl_NumWorkGroups
fails when the target is directx, however it compiles when the target is opengl, any suggestions on how to fix it ?
bkaradzic commented
You would need to pass that as uniform for now.