brintos

brintos / llvm-project-archived public Read only

0
0
Text · 523 B · e420225 Raw
16 lines · plain
1; RUN: not opt -S -passes='dxil-post-optimization-validation' -mtriple=dxil-pc-shadermodel6.6-compute %s 2>&1 | FileCheck %s2; CHECK: error: resource CBV (space=0, registers=[2, 2]) overlaps with resource CBV (space=0, registers=[0, 2])3 4define void @CSMain() "hlsl.shader"="compute" {5entry:6  ret void7}8 9!dx.rootsignatures = !{!0}10 11!0 = !{ptr @CSMain, !1, i32 2}12!1 = !{!2, !3}13!2 = !{!"RootConstants", i32 0, i32 2, i32 0, i32 4}14!3 = !{!"DescriptorTable", i32 0, !4}15!4 = !{!"CBV", i32 3, i32 0, i32 0, i32 -1, i32 4}16