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

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 06:38: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,
----------------
s-perron wrote:

I was following the example of `CreateHandleFromBinding` below. I have no problem changing it if you want.

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


More information about the llvm-commits mailing list