panfrost: MALI_DEPTH_TEST is actually MALI_DEPTH_WRITEMASK
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 4 Nov 2019 10:57:22 +0000 (11:57 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 4 Nov 2019 15:14:09 +0000 (16:14 +0100)
commit28440820eff55d412fbce3243c24bc9f58c3b8e6
tree150ae1f0d7853ca41f6e6cad9a9ee3fc6a8dd383
parent71634b10032d48dd43941390e556a89fe5d858f6
panfrost: MALI_DEPTH_TEST is actually MALI_DEPTH_WRITEMASK

MALI_DEPTH_TEST should only be set when depth->writemask is true,
not when the depth test is enabled. Let's rename the flag and patch
panfrost_bind_depth_stencil_state() to do the right thing.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
.gitlab-ci/deqp-panfrost-t760-fails.txt
.gitlab-ci/deqp-panfrost-t860-fails.txt
src/gallium/drivers/panfrost/pan_context.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c