[llvm-branch-commits] [clang] [llvm] [HLSL] GetDimensions methods for buffer resources (PR #161929)
Farzon Lotfi via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Oct 7 12:02:59 PDT 2025
================
@@ -4951,6 +4951,18 @@ def HLSLResourceNonUniformIndex : LangBuiltin<"HLSL_LANG"> {
let Prototype = "uint32_t(uint32_t)";
}
+def HLSLResourceGetDimensions : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_buffer_getdimensions"];
+ let Attributes = [NoThrow];
+ let Prototype = "void(...)";
+}
+
+def HLSLResourceGetStride : LangBuiltin<"HLSL_LANG"> {
----------------
farzonl wrote:
does `__builtin_hlsl_buffer_getstride` need to be in this pr or can it be its own thing?
https://github.com/llvm/llvm-project/pull/161929
More information about the llvm-branch-commits
mailing list