[clang] [llvm] [HLSL][DirectX] Remove uniformity bit from resource initialization intrinsics (PR #155332)
Steven Perron via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 26 06:48:37 PDT 2025
https://github.com/s-perron commented:
You will have to update the spir-v backend. We use that bit determine which capabilities are required. See
https://github.com/llvm/llvm-project/blob/5d4aa87ca5176a54b8395141df565255e3fde9ed/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp#L4279
I would suggest setting IsNonUniform to false, with a TODO reference the issue for the uniformity analysis. Then get the name from operand 6 instead of 7.
https://github.com/llvm/llvm-project/pull/155332
More information about the cfe-commits
mailing list