brintos

brintos / llvm-project-archived public Read only

0
0
Text · 596 B · 15326d4 Raw
18 lines · plain
1; RUN: opt -S -passes='dxil-post-optimization-validation' %s 2; This is a valid case where no resource is being used3target triple = "dxil-pc-shadermodel6.6-pixel"4 5define void @CSMain() #0 {6entry:7  ret void8}9attributes #0 = { noinline nounwind "exp-shader"="cs" "hlsl.numthreads"="1,2,1" "hlsl.shader"="geometry" }10 11!dx.rootsignatures = !{!0}12 13!0 = !{ptr @CSMain, !1, i32 2}14!1 = !{!2, !3, !4}15!2 = !{!"RootConstants", i32 0, i32 2, i32 0, i32 4}16!3 = !{ !"RootFlags", i32 294 } ; 294 = deny_pixel/hull/vertex/amplification_shader_root_access17!4 = !{ !"RootSRV", i32 0, i32 1, i32 0, i32 0 }18