diff options
author | Helena Kotas <hekotas@microsoft.com> | 2024-09-16 13:39:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 13:39:13 -0700 |
commit | 0a7a1ef2205c45859b4179cef993e97e9f5b4d0d (patch) | |
tree | ed52f34271c3d0234f736924594afec6a580dc68 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | f14fd32602a3e898b151ea0302d1d0f8cb2f5afc (diff) | |
download | llvm-0a7a1ef2205c45859b4179cef993e97e9f5b4d0d.zip llvm-0a7a1ef2205c45859b4179cef993e97e9f5b4d0d.tar.gz llvm-0a7a1ef2205c45859b4179cef993e97e9f5b4d0d.tar.bz2 |
[HLSL] Add `[[hlsl::contained_type()]]` attribute (#108456)
Introducing a new HLSL resource type attribute `[[contained_type(T)]]`
which describes the "contained type" of a buffer or resource type.
Specifically, the attribute will be used on the resource handle in
templated buffer types like so:
template <typename T> struct RWBuffer {
__hlsl_resource_t [[hlsl::contained_type(T)]] [[hlsl::resource_class(UAV)]] h;
};
Fixes #104855
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions