freedreno/a6xx: also consider alpha-test for ztest-mode
authorRob Clark <robdclark@chromium.org>
Wed, 3 Jun 2020 22:01:11 +0000 (15:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Jun 2020 02:34:54 +0000 (02:34 +0000)
commite9cda38031af98cf504fb9eb90dd4214e494ecb2
tree5390516a8804d78b8b05242b32325cc450f92f66
parent1e3731e7119c36b759ec9492a7c9ebf90b222122
freedreno/a6xx: also consider alpha-test for ztest-mode

Looks like we don't have CI coverage for this (since deqp==GLES) but
alpha test is conceptually the same as frag shaders with discard, and
should be handled as such.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5298>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_zsa.c
src/gallium/drivers/freedreno/a6xx/fd6_zsa.h