[clang] [HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (PR #117017)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 22 01:08:54 PST 2024


================
@@ -4738,6 +4738,12 @@ def GetDeviceSideMangledName : LangBuiltin<"CUDA_LANG"> {
 }
 
 // HLSL
+def HLSLTypedBufferPointer : LangBuiltin<"HLSL_LANG"> {
+  let Spellings = ["__builtin_hlsl_resource_getpointer"];
----------------
bogner wrote:

All buffer types, the name was leftover from an earlier revision. Fixed!

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


More information about the cfe-commits mailing list