Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test_shaders.py')
-rwxr-xr-xtest_shaders.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test_shaders.py b/test_shaders.py
index 31ec70a0..a9e2a2db 100755
--- a/test_shaders.py
+++ b/test_shaders.py
@@ -384,6 +384,10 @@ def shader_model_hlsl(shader):
return '-Tps_5_1'
elif '.comp' in shader:
return '-Tcs_5_1'
+ elif '.mesh' in shader:
+ return '-Tms_6_5'
+ elif '.task' in shader:
+ return '-Tas_6_5'
else:
return None
@@ -408,6 +412,8 @@ def validate_shader_hlsl(shader, force_no_external_validation, paths):
test_glslang = False
if '.fxconly.' in shader:
test_glslang = False
+ if '.task' in shader or '.mesh' in shader:
+ test_glslang = False
hlsl_args = [paths.glslang, '--amb', '-e', 'main', '-D', '--target-env', 'vulkan1.1', '-V', shader]
if '.sm30.' in shader: