Skip to content

Commit

Permalink
Add dxilver to tests using -Vd to work around auto-dxilver bug (micro…
Browse files Browse the repository at this point in the history
…soft#6369)

Issue microsoft#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.
  • Loading branch information
tex3d committed Feb 29, 2024
1 parent 5a31785 commit bbcbb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
// RUN: %dxilver 1.8 | %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT

// Verifies that a Barrier requiring a visible group in a noinline function
// called by a vertex shader is correctly marked as requiring a group in RDAT.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT
// RUN: %dxilver 1.8 | %dxc -T lib_6_8 -Vd %s | %D3DReflect %s | %FileCheck %s -check-prefixes=RDAT

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

0 comments on commit bbcbb2d

Please sign in to comment.