broadcom/vc5: Fix EZ disabling and allow using GT/GE direction as well.
authorEric Anholt <eric@anholt.net>
Fri, 23 Mar 2018 23:18:02 +0000 (16:18 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Mar 2018 00:46:19 +0000 (17:46 -0700)
commit1bf466270d416643e8fcacd6b790e53660303059
tree3ae25f7ebdd170df7afd3aa1ac4d2e82022673ce
parent262208eb3c2c53a1fd807bc76b12088f6ce2c56d
broadcom/vc5: Fix EZ disabling and allow using GT/GE direction as well.

Once we've disabled EZ for some draws, we need to not use EZ on future
draws.  Implementing that made implementing the GT/GE direction trivial.

Fixes KHR-GLES3.shaders.fragdepth.compare.no_write on V3D 4.1 simulation.
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_emit.c
src/gallium/drivers/vc5/vc5_rcl.c
src/gallium/drivers/vc5/vc5_state.c