pan/mdg: Set the z/s store intrinsic base correctly
authorIcecream95 <ixn@keemail.me>
Wed, 8 Jul 2020 04:00:51 +0000 (16:00 +1200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 13:35:11 +0000 (13:35 +0000)
commit18059f48f845c3f1358a36528b17bbe90bf140af
tree52e814368301659d453bff8f2569e889af647a84
parent7781d2c2eadc52c6a21fac5ffc22614b43e61e72
pan/mdg: Set the z/s store intrinsic base correctly

When EXT_shader_framebuffer_fetch is used and only depth and/or
stencil are written, we can't rely on the first output being to
depth/stencil.

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