[clang] [llvm] [HLSL][SPIRV] Use resource names (PR #143412)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 06:25:14 PDT 2025


================
@@ -243,7 +243,7 @@ CGHLSLRuntime::getCreateHandleFromBindingIntrinsic() {
   case llvm::Triple::dxil:
     return std::pair(llvm::Intrinsic::dx_resource_handlefrombinding, true);
   case llvm::Triple::spirv:
-    return std::pair(llvm::Intrinsic::spv_resource_handlefrombinding, false);
+    return std::pair(llvm::Intrinsic::spv_resource_handlefrombinding, true);
----------------
s-perron wrote:

I had thought of that, but did not want to do it right away in case there were other plans. I'll fix that up.

https://github.com/llvm/llvm-project/pull/143412


More information about the llvm-commits mailing list