Resources in groupshared memory causes internal compiler error
pow2clk opened this issue · comments
Greg Roth commented
Description
Applying the groupshared
qualifier onto resource globals results in an internal compiler error. This shouldn't be allowed, but it should produce a useful user error and not an internal casting failure.
Steps to Reproduce
Declare a texture and/or sampler with the groupshared
qualifier and make use of them so they don't get eliminated.
https://godbolt.org/z/cbcq74x31
Actual Behavior
results in the error: "Internal Compiler error: cast() argument of incompatible type!"
Environment
- DXC version 1.8.2405
- Host Operating System win11