panfrost: Handle writes_memory correctly
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 2 Jun 2020 18:12:29 +0000 (14:12 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 20:48:24 +0000 (20:48 +0000)
commitdce7722ef89100e5dea337064a9d6631bb18822a
treeca9c0631ddc0a89b27c9cefc1db90084e84338cd
parent2447b3b9d3306b33c75d503c9caf9e7322c957bf
panfrost: Handle writes_memory correctly

We need to pass it thru to EARLY_Z and WRITES_GLOBAL instead of ignoring
and assuming respectively. Nontrivial performance fix.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5300>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.h