Issue 141842
Summary [HLSL] Read Only Resources incorrectly allow writing
Labels bug, HLSL
Assignees
Reporter V-FEXrt
    Resources like `Buffer` and `StructuredBuffer` are supposed to be read only but this is not currently enforced.

Ex: https://hlsl.godbolt.org/z/sqMMffh6K fails under DXC but compiles under clang.

This is a bug that should be fixed.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to