[clang] [HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (PR #117017)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 13:48:59 PST 2024
================
@@ -4738,6 +4738,12 @@ def GetDeviceSideMangledName : LangBuiltin<"CUDA_LANG"> {
}
// HLSL
+def HLSLTypedBufferPointer : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_resource_getpointer"];
----------------
hekota wrote:
Is this for all buffer types or just typed buffers? The name has 'TypedBuffer' and does not match the spelling.
https://github.com/llvm/llvm-project/pull/117017
More information about the cfe-commits
mailing list