diff options
author | Try <try9998@gmail.com> | 2022-10-11 01:16:45 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2022-11-02 13:48:58 +0300 |
commit | 80146a20da26e729d424d92b05134089fc63694b (patch) | |
tree | 356143b957c8d79d57efe3550aacab43fdace48c /test_shaders.py | |
parent | 744279ec78ff9bd12656fffe79068ec03d9e9ed3 (diff) |
HLSL: Implement VK_EXT_mesh_shader
Diffstat (limited to 'test_shaders.py')
-rwxr-xr-x | test_shaders.py | 6 |
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: |