================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits