llvm-project
28b84081 - [HLSL] groupshared variables should be implicitly extern and should not be initialized (#184459)

Commit
57 days ago
[HLSL] groupshared variables should be implicitly extern and should not be initialized (#184459) Makes groupshared variables have extern storage class which prevents them from being initialized if no initializer is provided. If one is provided as below: ``` groupshared uint A = 1; ``` A warning, which is an error by default, is produced that says the initializer is ignored and the variable is NOT initialized. Closes #183602
Author
Parents
Loading