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
6 lines
193 B
LLVM
6 lines
193 B
LLVM
; RUN: opt -S -dxil-metadata-emit %s | FileCheck %s
|
|
target triple = "dxil-pc-shadermodel6-amplification"
|
|
|
|
; CHECK: !dx.shaderModel = !{![[SM:[0-9]+]]}
|
|
; CHECK: ![[SM]] = !{!"as", i32 6, i32 0}
|