[PATCH] D136031: [DirectX backend] support ConstantBuffer to DXILResource.h
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 15 19:33:39 PDT 2022
python3kgae created this revision.
python3kgae added reviewers: pow2clk, beanz, bogner.
Herald added a subscriber: hiraditya.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
class ConstantBuffer is added to save information for cbuffer.
Also add CBufferDataLayout to calculate the size for cbuffer.
Now always use legacy cbuffer layout.
https://reviews.llvm.org/D134998 will add control to disable legacy cbuffer layout.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136031
Files:
llvm/lib/Target/DirectX/CBufferDataLayout.cpp
llvm/lib/Target/DirectX/CBufferDataLayout.h
llvm/lib/Target/DirectX/CMakeLists.txt
llvm/lib/Target/DirectX/DXILResource.cpp
llvm/lib/Target/DirectX/DXILResource.h
llvm/test/CodeGen/DirectX/cbuf.ll
llvm/test/CodeGen/DirectX/legacy_cb_layout_0.ll
llvm/test/CodeGen/DirectX/legacy_cb_layout_1.ll
llvm/test/CodeGen/DirectX/legacy_cb_layout_2.ll
llvm/test/CodeGen/DirectX/legacy_cb_layout_3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136031.468046.patch
Type: text/x-patch
Size: 22407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221016/ab58c96c/attachment.bin>
More information about the llvm-commits
mailing list