[all-commits] [llvm/llvm-project] 2556ba: [ObjectYAML] Add support for DXContainer HASH

Chris B via All-commits all-commits at lists.llvm.org
Thu Oct 27 10:29:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2556ba4a52ac1bca0f2866d70f6ccba776c2b578
      https://github.com/llvm/llvm-project/commit/2556ba4a52ac1bca0f2866d70f6ccba776c2b578
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
    M llvm/lib/BinaryFormat/DXContainer.cpp
    M llvm/lib/Object/DXContainer.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    M llvm/test/tools/obj2yaml/DXContainer/ExplicitSizeAndOffsets.yaml
    M llvm/test/tools/obj2yaml/DXContainer/OmitSizeAndOffsets.yaml
    M llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
    M llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
    A llvm/test/tools/obj2yaml/DXContainer/ShaderHash.yaml
    M llvm/tools/obj2yaml/dxcontainer2yaml.cpp

  Log Message:
  -----------
  [ObjectYAML] Add support for DXContainer HASH

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.

Reviewed By: python3kgae

Differential Revision: https://reviews.llvm.org/D136632




More information about the All-commits mailing list