[all-commits] [llvm/llvm-project] 944f4b: [DirectX backend] add support ConstantBuffer to DX...
Xiang Li via All-commits
all-commits at lists.llvm.org
Thu Jan 12 10:42:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 944f4b2805852072022293678fddd65dc450e0f2
https://github.com/llvm/llvm-project/commit/944f4b2805852072022293678fddd65dc450e0f2
Author: Xiang Li <python3kgae at outlook.com>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
A llvm/lib/Target/DirectX/CBufferDataLayout.cpp
A llvm/lib/Target/DirectX/CBufferDataLayout.h
M llvm/lib/Target/DirectX/CMakeLists.txt
M llvm/lib/Target/DirectX/DXILResource.cpp
M llvm/lib/Target/DirectX/DXILResource.h
A llvm/test/CodeGen/DirectX/cbuf.ll
A llvm/test/CodeGen/DirectX/legacy_cb_layout_0.ll
A llvm/test/CodeGen/DirectX/legacy_cb_layout_1.ll
A llvm/test/CodeGen/DirectX/legacy_cb_layout_2.ll
A llvm/test/CodeGen/DirectX/legacy_cb_layout_3.ll
M llvm/test/tools/dxil-dis/BasicIR.ll
A llvm/unittests/Target/DirectX/CBufferDataLayoutTests.cpp
M llvm/unittests/Target/DirectX/CMakeLists.txt
Log Message:
-----------
[DirectX backend] add support ConstantBuffer to DXILResource.h
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.
Reviewed By: beanz
Differential Revision: https://reviews.llvm.org/D136031
More information about the All-commits
mailing list