pan/midgard: Fix old style shadows
authorIcecream95 <ixn@keemail.me>
Mon, 11 May 2020 22:16:31 +0000 (10:16 +1200)
committerIcecream95 <ixn@keemail.me>
Mon, 11 May 2020 22:36:30 +0000 (10:36 +1200)
commitd1290e79489fb645fc73ebb365b684b7797f97b2
tree144437eedc8ec6ad2154c2e097b61a3c7a3a2fb9
parent47bfc799da61aadd60ef9cc5c4bf0651c519cc77
pan/midgard: Fix old style shadows

This fixes the sky being red in OpenMW, as well as some of the Mesa
demos using shadows (shadowtex, shadow_sampler).

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4997>
src/panfrost/midgard/midgard_compile.c