Skip to content

Commit 36454e5

Browse files
authored
PIX: Partial cherry pick of validator version fix (microsoft#6908)
Partial cherry pickfrom commit 0fd84aa microsoft@0fd84aa Original PR: microsoft#6901
1 parent cf285db commit 36454e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/clang/unittests/HLSL/PixTest.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,17 @@ void Miss( inout Payload payload )
526526
TestPixUAVCase(hlsl, L"lib_6_3", L"");
527527
TestPixUAVCase(hlsl, L"lib_6_4", L"");
528528
TestPixUAVCase(hlsl, L"lib_6_5", L"");
529+
530+
if (m_ver.SkipDxilVersion(1, 6))
531+
return;
529532
TestPixUAVCase(hlsl, L"lib_6_6", L"");
533+
534+
if (m_ver.SkipDxilVersion(1, 7))
535+
return;
530536
TestPixUAVCase(hlsl, L"lib_6_7", L"");
537+
538+
if (m_ver.SkipDxilVersion(1, 8))
539+
return;
531540
TestPixUAVCase(hlsl, L"lib_6_8", L"");
532541
}
533542

0 commit comments

Comments
 (0)