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:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-01-16 13:07:30 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-01-16 13:12:06 +0300
commitc3bd136df1ab99c232a29b97bd989eb6001517fc (patch)
tree38981fcf81211251f65a6b186cbb2c88dad8c568 /test_shaders.py
parent79700d5412ea1699da170b03552aa846cba138b4 (diff)
MSL: Add support for force-activating IAB resources.
Important for ABI compatibility on MSL in certain cases.
Diffstat (limited to 'test_shaders.py')
-rwxr-xr-xtest_shaders.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_shaders.py b/test_shaders.py
index da94b7cc..4700f687 100755
--- a/test_shaders.py
+++ b/test_shaders.py
@@ -226,6 +226,8 @@ def cross_compile_msl(shader, spirv, opt, iterations, paths):
msl_args.append('2')
msl_args.append('--msl-discrete-descriptor-set')
msl_args.append('3')
+ if '.force-active.' in shader:
+ msl_args.append('--msl-force-active-argument-buffer-resources')
if '.line.' in shader:
msl_args.append('--emit-line-directives')
if '.multiview.' in shader: