Skip to content

Commit 5428599

Browse files
committed
disable validation
1 parent e21e565 commit 5428599

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

clang/test/Driver/dxc_frs.hlsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
// RUN: %clang_dxc -T cs_6_0 /Fo %t.dxo /Frs %t.rs.dxo -### %s 2>&1 | FileCheck %s
1+
// RUN: %clang_dxc -Vd -T cs_6_0 /Fo %t.dxo /Frs %t.rs.dxo -### %s 2>&1 | FileCheck %s
22

33
// Test to demonstrate extracting the root signature to the specified
44
// output file with /Frs.
55

6-
// CHECK: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.{{(dxo|obj)}}" "--extract-section=RTS0={{.*}}.rs.dxo"
7-
6+
// CHECK: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.dxo" "--extract-section=RTS0={{.*}}.rs.dxo"
87
[shader("compute"), RootSignature("")]
98
[numthreads(1,1,1)]
109
void EmptyEntry() {}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang_dxc -E EntryRS -T rootsig_1_1 /Fo %t.dxo -### %s 2>&1 | FileCheck %s --check-prefix=CMDS
1+
// RUN: %clang_dxc -E EntryRS -Vd -T rootsig_1_1 /Fo %t.dxo -### %s 2>&1 | FileCheck %s --check-prefix=CMDS
22

33
// CMDS: "{{.*}}clang{{.*}}" "-cc1"
44
// CMDS-SAME: "-triple" "dxilv1.1-unknown-shadermodel1.1-rootsignature"
55
// CMDS-SAME: "-hlsl-entry" "EntryRS"
6-
// CMDS: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.{{(dxo|obj)}}" "--only-section=RTS0"
6+
// CMDS: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.dxo" "--only-section=RTS0"
77

88
#define EntryRS "UAV(u0)"

0 commit comments

Comments
 (0)