Skip to content

Commit 9403822

Browse files
authored
Add dxilver to tests using -Vd to work around auto-dxilver bug (#6369) (#6371)
Issue #6367 identifies a problem with the auto-dxilver logic based on -T target option in %dxc part when using FileCheckerTest.cpp. This change adds a manual %dxilver 1.8 to two tests that run into this problem, as a workaround. (cherry picked from commit bbcbb2d)
1 parent 12b838f commit 9403822

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/clang/test/HLSLFileCheck/validation/callgraph/barrier-group-in-nested-fn-vs-lib68.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
1+
// RUN: %dxilver 1.8 | %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
22

33
// Verifies that a Barrier requiring a visible group in a noinline function
44
// called by a vertex shader is correctly marked as requiring a group in RDAT.

tools/clang/test/HLSLFileCheck/validation/callgraph/deriv-in-nested-fn-vs-lib68.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
1+
// RUN: %dxilver 1.8 | %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
22

33
// Check that ShaderCompatInfo in RDAT has expected flags for scenario with
44
// verttex entry point calling a function using derivatives (through Sample()).

0 commit comments

Comments
 (0)