[PATCH] D141628: [DirectX backend] support empty program signature parts for compute shader
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 12:44:09 PST 2023
python3kgae created this revision.
python3kgae added reviewers: beanz, pow2clk, bogner, bob80905.
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.
New parts ISG1 and OSG1 are added but only support 0 parameter case.
2 uint32_t will be emited for empty program signature. 0 for parameter count and 8 for parameter offset.
This is enough for computer shader.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141628
Files:
llvm/include/llvm/BinaryFormat/DXContainer.h
llvm/include/llvm/BinaryFormat/DXContainerConstants.def
llvm/include/llvm/Object/DXContainer.h
llvm/include/llvm/ObjectYAML/DXContainerYAML.h
llvm/lib/Object/DXContainer.cpp
llvm/lib/ObjectYAML/DXContainerEmitter.cpp
llvm/lib/ObjectYAML/DXContainerYAML.cpp
llvm/lib/Target/DirectX/DXContainerGlobals.cpp
llvm/test/tools/obj2yaml/DXContainer/EmptyProgramSignature.yaml
llvm/tools/obj2yaml/dxcontainer2yaml.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141628.488738.patch
Type: text/x-patch
Size: 12253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230112/d7c68cc3/attachment.bin>
More information about the llvm-commits
mailing list