Skip to content

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 /cc @alyssa @tomeu

Merge request reports