aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/MainModule.cpp
diff options
context:
space:
mode:
authorHelena Kotas <hekotas@microsoft.com>2025-09-30 14:24:55 -0700
committerGitHub <noreply@github.com>2025-09-30 14:24:55 -0700
commitb6dfa3d47db74e72a566e0605fb573a8fcea1234 (patch)
tree05b1c3e41657e981385a649c339f72a9faf04d34 /mlir/lib/Bindings/Python/MainModule.cpp
parentca84f2aa3be6e46a4dccb1bec56b93f2bb3d8ef0 (diff)
downloadllvm-b6dfa3d47db74e72a566e0605fb573a8fcea1234.zip
llvm-b6dfa3d47db74e72a566e0605fb573a8fcea1234.tar.gz
llvm-b6dfa3d47db74e72a566e0605fb573a8fcea1234.tar.bz2
[HLSL][NFC] Add helper struct to simplify dealing with resource binding attributes (#161254)
Add new `ResourceBindingAttrs` struct that holds resource binding attributes `HLSLResourceBindingAttr` and `HLSLVkBindingAttr` and provides helper methods to simplify dealing with resource bindings. This code is placed in the AST library to be shared between Sema and CodeGen. This change has been done in preparation of a third binding attribute coming soon to represent `[[vk::counter_binding()]]`. This new attribute and more helper member functions will be added to `ResourceBindingAttrs` and will be used in both Sema and in CodeGen to implement resource counter initialization.
Diffstat (limited to 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions