panfrost: Don't double-flip Z/W for 2D arrays
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 7 Jan 2020 02:36:20 +0000 (21:36 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 7 Jan 2020 07:54:52 +0000 (08:54 +0100)
commit4cd3dc94ad7ba991c960457b9134ce233b5b41ab
treea7ae1337040ccbe92ef12be7e1836d55b1c117f5
parentbc4c853b490b1a230c9018df60670583be121009
panfrost: Don't double-flip Z/W for 2D arrays

We need to mindful that we don't clobber the shadow comparator.

Fixes dEQP-GLES3.functional.shaders.texture_functions.texture.sampler2darrayshadow_*

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/midgard_compile.c