Browse Source

Skip validator <1.2 for half tests (#595)

Young Kim 8 years ago
parent
commit
bdd7c63873
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/clang/unittests/HLSL/CompilerTest.cpp

+ 1 - 0
tools/clang/unittests/HLSL/CompilerTest.cpp

@@ -3054,6 +3054,7 @@ TEST_F(CompilerTest, CodeGenCbufferAllocLegacy) {
 }
 
 TEST_F(CompilerTest, CodeGenCbufferHalf) {
+  if (m_ver.SkipDxilVersion(1, 2)) return;
   CodeGenTestCheck(L"..\\CodeGenHLSL\\cbufferHalf.hlsl");
 }