[PATCH] D130019: [HLSL] CodeGen HLSL Resource annotations
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 18 08:16:49 PDT 2022
beanz created this revision.
beanz added reviewers: aaron.ballman, Anastasia, kuhar, bogner, python3kgae.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: clang.
HLSL Resource types need special annotations that the backend will use
to build out metadata and resource annotations that are required by
DirectX and Vulkan drivers in order to provide correct data bindings
for shader exeuction.
This patch adds some of the required data for unordered-access-views
(UAV) resource binding into the module flags. This data will evolve
over time to cover all the required use cases, but this should get
things started.
Depends on D130018 <https://reviews.llvm.org/D130018>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130019
Files:
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGHLSLRuntime.cpp
clang/lib/CodeGen/CGHLSLRuntime.h
clang/test/CodeGenHLSL/builtins/RWBuffer-annotations.hlsl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130019.445519.patch
Type: text/x-patch
Size: 4628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220718/5b2ca868/attachment-0001.bin>
More information about the cfe-commits
mailing list