diff options
author | Rob Clark <robdclark@gmail.com> | 2019-03-21 15:48:54 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2019-03-22 08:53:28 -0400 |
commit | dbac1a80d1688e500d653afd859f4c84290b1fe5 (patch) | |
tree | e68f50d7869098eb5413fe6980ba1b04942e923b /src/gallium/drivers/freedreno/a6xx/fd6_draw.c | |
parent | f736250ab46908a2f6f01a721576c5ad2850835f (diff) |
freedreno/ir3: rename has_kill to no_earlyz
There are other cases where we need to disable early-z, like image
writes. So rename to something more generic.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx/fd6_draw.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_draw.c b/src/gallium/drivers/freedreno/a6xx/fd6_draw.c index c049488db0f..5cd619acc19 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_draw.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_draw.c @@ -200,7 +200,7 @@ fd6_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info, /* figure out whether we need to disable LRZ write for binning * pass using draw pass's fp: */ - emit.no_lrz_write = fp->writes_pos || fp->has_kill; + emit.no_lrz_write = fp->writes_pos || fp->no_earlyz; struct fd_ringbuffer *ring = ctx->batch->draw; enum pc_di_primtype primtype = ctx->primtypes[info->mode]; |