[all-commits] [llvm/llvm-project] c0a76c: [DirectX] Add DXIL metadata `dx.shaderModel`

Chris B via All-commits all-commits at lists.llvm.org
Mon Oct 3 11:00:30 PDT 2022


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

  Changed paths:
    M llvm/lib/Target/DirectX/DXILMetadata.cpp
    M llvm/lib/Target/DirectX/DXILMetadata.h
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-as.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-gs.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-hs.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-lib.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-ms.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-ps.ll
    A llvm/test/CodeGen/DirectX/Metadata/shaderModel-vs.ll

  Log Message:
  -----------
  [DirectX] Add DXIL metadata `dx.shaderModel`

This captures the target shader model and pipeline stage into the DXIL
metadata for consumption by the DirectX runtime.

Reviewed By: python3kgae

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




More information about the All-commits mailing list