aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorHelena Kotas <hekotas@microsoft.com>2024-09-16 13:39:13 -0700
committerGitHub <noreply@github.com>2024-09-16 13:39:13 -0700
commit0a7a1ef2205c45859b4179cef993e97e9f5b4d0d (patch)
treeed52f34271c3d0234f736924594afec6a580dc68 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parentf14fd32602a3e898b151ea0302d1d0f8cb2f5afc (diff)
downloadllvm-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