llvm-project
9f5b0231 - [HLSL] Make sure global resources and resource arrays cannot be assigned to (#157772)

Commit
51 days ago
[HLSL] Make sure global resources and resource arrays cannot be assigned to (#157772) Global resources are read-only. The compiler needs to report an error when somebody attempts to assign a value to a global resource, a global resource array element or the whole array. Test update in `static-local-ctor.hlsl` includes the use of the llvm-cxxfilt tool which takes care of demangling of function names for a more readable test baseline. Closes #154390
Author
Parents
Loading