[clang] [llvm] [HLSL] Add SPIR-V version of getPointer. (PR #121963)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 19:27:16 PST 2025


================
@@ -104,6 +104,8 @@ class CGHLSLRuntime {
   GENERATE_HLSL_INTRINSIC_FUNCTION(SClamp, sclamp)
   GENERATE_HLSL_INTRINSIC_FUNCTION(UClamp, uclamp)
 
+  GENERATE_HLSL_INTRINSIC_FUNCTION(CreateResourceGetPointer,
----------------
bogner wrote:

Why "CreateResourceGetPointer"? Shouldn't this just be "ResourceGetPointer"?

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


More information about the llvm-commits mailing list