We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code construct used to work with fxc.exe but doesn't compile with dxc. Is this expected?
static const uint2 c2Thread= uint2(8, 8); static const uint cThread = c2Thread.x*c2Thread.y; groupshared float4 S1[cThread]; [numthreads(c2Thread.x, c2Thread.y, 1)] void csMain() ....
note: inlining the numerical constants does work fine:
static const uint2 c2Thread= uint2(8, 8); static const uint cThread = c2Thread.x*c2Thread.y; groupshared float4 S1[64]; [numthreads(8, 8, 1)] void csMain() ....
The text was updated successfully, but these errors were encountered:
Thanks for reporting! I was able to repro. If this blocking, you can use a #define as a workaround.
#define
Sorry, something went wrong.
No branches or pull requests
This code construct used to work with fxc.exe but doesn't compile with dxc.
Is this expected?
note: inlining the numerical constants does work fine:
The text was updated successfully, but these errors were encountered: