Always return win_path for FXC.

This commit is contained in:
Hans-Kristian Arntzen 2017-12-12 13:33:13 +01:00
parent 69e0935e1b
commit 51a48a7cef

View File

@ -127,6 +127,8 @@ def shader_to_win_path(shader):
except subprocess.CalledProcessError:
raise
return shader
def validate_shader_hlsl(shader):
subprocess.check_call(['glslangValidator', '-e', 'main', '-D', '-V', shader])
is_no_fxc = '.nofxc.' in shader