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:
authorChip Davis <cdavis@codeweavers.com>2020-10-15 04:48:52 +0300
committerChip Davis <cdavis@codeweavers.com>2020-10-15 20:51:00 +0300
commit5845e009ea25991264d1b848bea7e6d37469bdba (patch)
tree6f75b0b67bd4afdf7acb6420eac7431bc1f01cbc /test_shaders.py
parent0db1569e970b0b1b9bfcaec691e2bfb2f26a73db (diff)
MSL: Handle Offset and Grad operands for 1D-as-2D textures.
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 95099073..451fc00f 100755
--- a/test_shaders.py
+++ b/test_shaders.py
@@ -306,6 +306,8 @@ def cross_compile_msl(shader, spirv, opt, iterations, paths):
msl_args.append('0x00000022')
if '.arrayed-subpass.' in shader:
msl_args.append('--msl-arrayed-subpass-input')
+ if '.1d-as-2d.' in shader:
+ msl_args.append('--msl-texture-1d-as-2d')
subprocess.check_call(msl_args)