bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

Home Page:https://bkaradzic.github.io/bgfx/overview.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gl_NumWorkGroups doesn't compile when the target is DirectX

endianvoid opened this issue · comments

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 ?

You would need to pass that as uniform for now.