[clang] [llvm] [HLSL] Create HLSL legalization passes (PR #123811)
Steven Perron via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 11:58:56 PST 2025
================
@@ -61,7 +61,7 @@ unsigned RemoveDupes(unsigned Buf[MAX], unsigned size) {
}
-RWBuffer<unsigned> Indices;
+RWBuffer<unsigned> Indices : register(u0);
----------------
s-perron wrote:
Resources without explicit register assignments are not supported yet. If we do not do this then we end up with a handle that is zero initialized, which causes problems.
https://github.com/llvm/llvm-project/pull/123811
More information about the llvm-commits
mailing list