Selaa lähdekoodia

skip -denorm command line test when validator is present. (#482)

Young Kim 8 vuotta sitten
vanhempi
commit
b0f5918d5b
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      utils/hct/hcttestcmds.cmd

+ 9 - 0
utils/hct/hcttestcmds.cmd

@@ -524,6 +524,14 @@ if %errorlevel% neq 0 (
   exit /b 1
   exit /b 1
 )
 )
 
 
+
+rem Skipping shader model 6.2 when dxil.dll is present
+if exist dxil.dll (
+  echo Skipping shader model 6.2 when dxil.dll is present
+  echo A future dxil.dll will support this model.
+  goto :skipsm62
+)
+
 echo Test for denorm options ...
 echo Test for denorm options ...
 dxc.exe smoke.hlsl /Tps_6_2 /denorm preserve 1>nul
 dxc.exe smoke.hlsl /Tps_6_2 /denorm preserve 1>nul
 if %errorlevel% neq 0 (
 if %errorlevel% neq 0 (
@@ -553,6 +561,7 @@ if %errorlevel% equ 0 (
   exit /b 1
   exit /b 1
 )
 )
 
 
+:skipsm62
 call :cleanup
 call :cleanup
 exit /b 0
 exit /b 0