Add force no external validation path to HLSL as well.
This commit is contained in:
parent
70743b9be4
commit
bd7c47a071
@ -97,7 +97,7 @@ def cross_compile_msl(shader):
|
||||
|
||||
def validate_shader_hlsl(shader):
|
||||
subprocess.check_call(['glslangValidator', '-e', 'main', '-D', '-V', shader])
|
||||
if os.path.exists('fxc'):
|
||||
if (not force_no_external_validation) and os.path.exists('fxc'):
|
||||
subprocess.check_call(['fxc', shader])
|
||||
|
||||
def cross_compile_hlsl(shader):
|
||||
|
Loading…
Reference in New Issue
Block a user