[clang] [HLSL] Add static methods for resource initialization (PR #155866)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 8 11:00:28 PDT 2025
================
@@ -483,6 +532,55 @@ BuiltinTypeMethodBuilder &BuiltinTypeMethodBuilder::dereference(T Ptr) {
return *this;
}
+template <typename T>
+BuiltinTypeMethodBuilder &
+BuiltinTypeMethodBuilder::getResourceHandle(T ResourceRecord) {
----------------
hekota wrote:
I'll change the name to `accessHandleFieldOnResource` since we already have `setHandleFieldOnResource`.
https://github.com/llvm/llvm-project/pull/155866
More information about the cfe-commits
mailing list