aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorXiang Li <python3kgae@outlook.com>2022-07-18 11:50:25 -0700
committerXiang Li <python3kgae@outlook.com>2022-09-22 11:51:21 -0700
commite3fd0b20731f559ba90a9a32f6489499a63cf2b5 (patch)
tree635e93f0f1cdde0c81a43235201770d0a9548f1e /clang/lib/Lex/ModuleMap.cpp
parent91563c419e57e3e22de96122247ea27540b14659 (diff)
downloadllvm-e3fd0b20731f559ba90a9a32f6489499a63cf2b5.zip
llvm-e3fd0b20731f559ba90a9a32f6489499a63cf2b5.tar.gz
llvm-e3fd0b20731f559ba90a9a32f6489499a63cf2b5.tar.bz2
[HLSL] Add resource binding attribute for HLSL.
The resource binding attribute is to set the virtual registers and logical register spaces resources in HLSL are bound to. Format is ''register(ID, space)'' like register(t3, space1). ID must be start with t – for shader resource views (SRV), s – for samplers, u – for unordered access views (UAV), b – for constant buffer views (CBV). Register space is default to space0. The full documentation is available here: https://docs.microsoft.com/en-us/windows/win32/direct3d12/resource-binding-in-hlsl Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D130033
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions