[all-commits] [llvm/llvm-project] 49dc58: [DX] [ObjectYAML] Support DX shader feature flags

Chris B via All-commits all-commits at lists.llvm.org
Thu Sep 29 10:37:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49dc58f55142c9ba789ee1885f764aa006284f37
      https://github.com/llvm/llvm-project/commit/49dc58f55142c9ba789ee1885f764aa006284f37
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-09-29 (Thu, 29 Sep 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/Object/DXContainer.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/ObjectYAML/DXContainerYAML.cpp
    A llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
    A llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
    M llvm/tools/obj2yaml/dxcontainer2yaml.cpp

  Log Message:
  -----------
  [DX] [ObjectYAML] Support DX shader feature flags

DXContainers contain a feature flag part, which stores a bitfield used
to denote what underlying hardware features the shader requires. This
change adds feature flags to the DXContainer YAML tooling to enable
testing generating feature flags during HLSL code generation.

Depends on D133980

Reviewed By: lhames

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




More information about the All-commits mailing list