[PATCH] D136632: [ObjectYAML] Add support for DXContainer HASH

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 11:48:14 PDT 2022


beanz created this revision.
beanz added reviewers: python3kgae, lhames.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

DXContainer files contain a part that has an MD5 of the generated
shader. This adds support to the ObjectYAML tooling to expand the hash
part data and hash iteself in preparation for adding hashing support to
DirectX code generation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136632

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/BinaryFormat/DXContainer.cpp
  llvm/lib/Object/DXContainer.cpp
  llvm/lib/ObjectYAML/DXContainerEmitter.cpp
  llvm/lib/ObjectYAML/DXContainerYAML.cpp
  llvm/test/tools/obj2yaml/DXContainer/ExplicitSizeAndOffsets.yaml
  llvm/test/tools/obj2yaml/DXContainer/OmitSizeAndOffsets.yaml
  llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
  llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
  llvm/test/tools/obj2yaml/DXContainer/ShaderHash.yaml
  llvm/tools/obj2yaml/dxcontainer2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136632.470240.patch
Type: text/x-patch
Size: 13329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/e6c50c0f/attachment.bin>


More information about the llvm-commits mailing list