[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:05:43 PDT 2025
================
@@ -676,6 +774,58 @@ BuiltinTypeDeclBuilder::addHandleConstructorFromImplicitBinding() {
.finalize();
}
+BuiltinTypeDeclBuilder &BuiltinTypeDeclBuilder::addCreateFromBinding() {
----------------
hekota wrote:
We do want these methods to be separate with different names since Sema and CodeGen will search for them by name. There are also going to be methods for initializing resources from dynamic binding, or resources with separate binding for counter - the complete list of create methods will be more varied.
https://github.com/llvm/llvm-project/pull/155866
More information about the cfe-commits
mailing list