浏览代码

Skip validator <1.2 for half tests (#595)

Young Kim 8 年之前
父节点
当前提交
bdd7c63873
共有 1 个文件被更改,包括 1 次插入0 次删除
  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");
 }