[all-commits] [llvm/llvm-project] 0c3f51: Re-land [DX] Add support for PSV signature elements

Chris B via All-commits all-commits at lists.llvm.org
Wed Aug 16 12:26:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c3f51c0427022f16129a6ac4d2a11ad83ae7703
      https://github.com/llvm/llvm-project/commit/0c3f51c0427022f16129a6ac4d2a11ad83ae7703
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DXContainer.h
    M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
    M llvm/include/llvm/MC/DXContainerPSVInfo.h
    M llvm/include/llvm/MC/StringTableBuilder.h
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
    M llvm/lib/BinaryFormat/DXContainer.cpp
    M llvm/lib/MC/DXContainerPSVInfo.cpp
    M llvm/lib/MC/StringTableBuilder.cpp
    M llvm/lib/Object/DXContainer.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    M llvm/test/ObjectYAML/DXContainer/PSVv1-amplification.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-compute.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-domain.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-geometry.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-hull.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-mesh.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-pixel.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv1-vertex.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-amplification.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-compute.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-domain.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-geometry.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-hull.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-mesh.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-pixel.yaml
    M llvm/test/ObjectYAML/DXContainer/PSVv2-vertex.yaml
    A llvm/test/ObjectYAML/DXContainer/SigElements.yaml
    M llvm/tools/obj2yaml/dxcontainer2yaml.cpp
    M llvm/unittests/Object/DXContainerTest.cpp

  Log Message:
  -----------
  Re-land [DX] Add support for PSV signature elements

The pipeline state data captured in the PSV0 section of the DXContainer
file encodes signature elements which are read by the runtime to map
inputs and outputs from the GPU program.

This change adds support for generating and parsing signature elements
with testing driven through the ObjectYAML tooling.

Reviewed By: bogner

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

Initially landed as 8c567e64f808f7a818965c6bc123fedf7db7336f, and
reverted in 4d800633b2683304a5431d002d8ffc40a1815520.

../llvm/include/llvm/BinaryFormat/DXContainerConstants.def
../llvm/test/ObjectYAML/DXContainer/PSVv1-amplification.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv1-compute.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv1-domain.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv1-geometry.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv1-vertex.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv2-amplification.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv2-compute.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv2-domain.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv2-geometry.yaml
../llvm/test/ObjectYAML/DXContainer/PSVv2-vertex.yaml




More information about the All-commits mailing list