brintos

brintos / llvm-project-archived public Read only

0
0
Text · 362 B · 671406c Raw
13 lines · plain
1; RUN: not opt -S -dxil-translate-metadata %s 2>&1 | FileCheck %s2 3target triple = "dxil-pc-shadermodel6.6-pixel"4 5; CHECK: Shader stage 'cs' for entry 'entry' different from specified target profile 'pixel'6 7define void @entry() #0 {8entry:9  ret void10}11 12attributes #0 = { noinline nounwind "exp-shader"="cs" "hlsl.numthreads"="1,2,1" "hlsl.shader"="compute" }13