Skip to content

Commit 93f517f

Browse files
committed
[SPIR-V] Disable validation for a broken test
The code emitted with this test would not pass validation rules for 06677 as the empty cbuffers generate a UniformConstant variable with no binding decoration. Seems like an oversight from DXC which would be OK if it only happened with `-fcgl` but since this also happens in `-O0` this is a bug. Related to #7681
1 parent 7968172 commit 93f517f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/clang/test/CodeGenSPIRV/type.cbuffer.including.resource.hlsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// RUN: %dxc -T ps_6_0 -E main -fcgl %s -spirv | FileCheck %s
1+
// RUN: %dxc -T ps_6_0 -E main -fcgl -Vd %s -spirv | FileCheck %s
2+
// FIXME(7681): Enable validation again once codegen is fixed.
23

34
// CHECK-NOT: OpDecorate %buf3
45

0 commit comments

Comments
 (0)