panfrost: Simplify zsa == NULL case
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 6 Aug 2020 14:02:35 +0000 (10:02 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 13 Aug 2020 06:55:16 +0000 (08:55 +0200)
commit1675d92d663bf92cb5f8d699a096748e7bdd768f
tree7bd9130187a9155ba628c433145af0627f92ac75
parent931e7b4c7a16fdb4f9231d4af6ecb1b20ddaae2f
panfrost: Simplify zsa == NULL case

Stencil fields are only used if stenciling is enabled.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6195>
src/gallium/drivers/panfrost/pan_cmdstream.c