Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gl_NumWorkGroups doesn't compile when the target is DirectX #3255

Open
endianvoid opened this issue Feb 17, 2024 · 1 comment
Open

gl_NumWorkGroups doesn't compile when the target is DirectX #3255

endianvoid opened this issue Feb 17, 2024 · 1 comment

Comments

@endianvoid
Copy link

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
Copy link
Owner

You would need to pass that as uniform for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants