diff options
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_state_validate.c')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_state_validate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nvc0/nvc0_state_validate.c index f235ba57e36..4211fcdefd5 100644 --- a/src/gallium/drivers/nvc0/nvc0_state_validate.c +++ b/src/gallium/drivers/nvc0/nvc0_state_validate.c @@ -442,16 +442,8 @@ static void nvc0_validate_derived_1(struct nvc0_context *nvc0) { struct nouveau_pushbuf *push = nvc0->base.pushbuf; - boolean early_z; boolean rasterizer_discard; - early_z = nvc0->fragprog->fp.early_z && !nvc0->zsa->pipe.alpha.enabled; - - if (early_z != nvc0->state.early_z) { - nvc0->state.early_z = early_z; - IMMED_NVC0(push, NVC0_3D(EARLY_FRAGMENT_TESTS), early_z); - } - rasterizer_discard = (!nvc0->fragprog || !nvc0->fragprog->hdr[18]) && !nvc0->zsa->pipe.depth.enabled && !nvc0->zsa->pipe.stencil[0].enabled; rasterizer_discard = rasterizer_discard || |