v3d: Use the early_fragment_tests flag for the shader's disable-EZ field.
authorEric Anholt <eric@anholt.net>
Tue, 12 Feb 2019 22:39:40 +0000 (14:39 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Feb 2019 02:09:06 +0000 (18:09 -0800)
commitcd5e0b272919a654079620adecd2abe24ff51233
tree774d6a0786a0e4af9967e509740644101419340c
parent332b969c4ed7fdfc6d65770c07fb573c50174eb0
v3d: Use the early_fragment_tests flag for the shader's disable-EZ field.

Apparently we need disable-EZ flagged, not just "does Z writes".

Fixes
dEQP-GLES31.functional.image_load_store.early_fragment_tests.no_early_fragment_tests_depth_fbo
on 7278, even though it passed in simulation.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 051a41d3d56e ("v3d: Add support for the early_fragment_tests flag.")
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/gallium/drivers/v3d/v3dx_draw.c