[clang] [llvm] [HLSL][SPIRV] Use resource names (PR #143412)
    Nathan Gauër via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 10 04:50:18 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);
----------------
Keenuts wrote:
Since we always return true now, shall this function bool value be removed, and only return the Intrinsic ID?
https://github.com/llvm/llvm-project/pull/143412
    
    
More information about the llvm-commits
mailing list