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>2021-01-07 16:30:35 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-01-08 12:17:42 +0300
commit3136e342157d0b29efba7402e33e23d7373b893c (patch)
treeb9785eefedd614b1d71d6d3f2bc1a18c013d7f23 /test_shaders.py
parent134a520034079692a5f3b0acb204bb916fb1ff10 (diff)
MSL: Always use input_attachment_index for framebuffer fetch binding.
--msl-decoration-binding would end up overriding the input attachment index to binding which is very unexpected and broken.
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 3e0eae39..3d9969dc 100755
--- a/test_shaders.py
+++ b/test_shaders.py
@@ -321,6 +321,8 @@ def cross_compile_msl(shader, spirv, opt, iterations, paths):
msl_args.append('32')
if '.force-sample.' in shader:
msl_args.append('--msl-force-sample-rate-shading')
+ if '.decoration-binding.' in shader:
+ msl_args.append('--msl-decoration-binding')
subprocess.check_call(msl_args)