Skip to content

Commit 11770c5

Browse files
committed
fix objcopy test
1 parent 32a2c89 commit 11770c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/Driver/dxc_frs.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Test to demonstrate extracting the root signature to the specified
44
// output file with /Frs.
55

6-
// CHECK: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.dxo" "--extract-section=RTS0={{.*}}.rs.dxo"
6+
// CHECK: "{{.*}}/llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.{{(dxo|obj)}}" "--extract-section=RTS0={{.*}}.rs.dxo"
77

88
[shader("compute"), RootSignature("")]
99
[numthreads(1,1,1)]

clang/test/Driver/dxc_rootsignature_target.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
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" "--only-section=RTS0"
6+
// CMDS: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.{{(dxo|obj)}}" "--only-section=RTS0"
77

88
#define EntryRS "UAV(u0)"

0 commit comments

Comments
 (0)