diff options
author | Chip Davis <cdavis@codeweavers.com> | 2020-10-15 04:48:52 +0300 |
---|---|---|
committer | Chip Davis <cdavis@codeweavers.com> | 2020-10-15 20:51:00 +0300 |
commit | 5845e009ea25991264d1b848bea7e6d37469bdba (patch) | |
tree | 6f75b0b67bd4afdf7acb6420eac7431bc1f01cbc /test_shaders.py | |
parent | 0db1569e970b0b1b9bfcaec691e2bfb2f26a73db (diff) |
MSL: Handle Offset and Grad operands for 1D-as-2D textures.
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 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) |