panfrost: Avoid redundant shader executions with mask=0x0
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 May 2020 19:49:30 +0000 (15:49 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 May 2020 19:49:47 +0000 (15:49 -0400)
commit1085f74239f2b81e4e17ece4b9b7a805ee8dd250
treec15ac6ee8aed012d2c6127612b0955e9fdf5458f
parent3e4e849e6a9633702e26ee16b4a594361e42013f
panfrost: Avoid redundant shader executions with mask=0x0

Only works for a few Midgard GPUs, but hey.

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