brintos

brintos / llvm-project-archived public Read only

0
0
Text · 300 B · 71a73f8 Raw
13 lines · plain
1; RUN: opt -S -dxil-translate-metadata %s | FileCheck %s2target triple = "dxil-pc-shadermodel5.0-pixel"3 4; CHECK: !dx.shaderModel = !{![[SM:[0-9]+]]}5; CHECK: ![[SM]] = !{!"ps", i32 5, i32 0}6 7define void @entry() #0 {8entry:9  ret void10}11 12attributes #0 = { noinline nounwind "hlsl.shader"="pixel" }13