Add optional fxc HLSL test
This commit is contained in:
parent
82959c86bb
commit
0a1054e71a
@ -83,6 +83,8 @@ def cross_compile_msl(shader):
|
|||||||
|
|
||||||
def validate_shader_hlsl(shader):
|
def validate_shader_hlsl(shader):
|
||||||
subprocess.check_call(['glslangValidator', '-e', 'main', '-D', '-V', shader])
|
subprocess.check_call(['glslangValidator', '-e', 'main', '-D', '-V', shader])
|
||||||
|
if os.path.exists('fxc'):
|
||||||
|
subprocess.check_call(['fxc', shader])
|
||||||
|
|
||||||
def cross_compile_hlsl(shader):
|
def cross_compile_hlsl(shader):
|
||||||
spirv_f, spirv_path = tempfile.mkstemp()
|
spirv_f, spirv_path = tempfile.mkstemp()
|
||||||
|
Loading…
Reference in New Issue
Block a user