diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-01-16 13:07:30 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-01-16 13:12:06 +0300 |
commit | c3bd136df1ab99c232a29b97bd989eb6001517fc (patch) | |
tree | 38981fcf81211251f65a6b186cbb2c88dad8c568 /test_shaders.py | |
parent | 79700d5412ea1699da170b03552aa846cba138b4 (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-x | test_shaders.py | 2 |
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: |