From: Kristian H. Kristensen Date: Thu, 25 Oct 2018 20:35:15 +0000 (-0700) Subject: freedreno/a6xx: Rename FD6_GROUP_ZSA ro FD6_GROUP_LRZ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30739265122fd82edcb7a26ae058699c47cabee2;p=mesa.git freedreno/a6xx: Rename FD6_GROUP_ZSA ro FD6_GROUP_LRZ Signed-off-by: Kristian H. Kristensen --- diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index 5fb3a04034d..bf85378981e 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -586,7 +586,7 @@ fd6_build_vbo_state(struct fd6_emit *emit, const struct ir3_shader_variant *vp) } static struct fd_ringbuffer * -build_zsa(struct fd6_emit *emit, bool binning_pass) +build_lrz(struct fd6_emit *emit, bool binning_pass) { struct fd6_zsa_stateobj *zsa = fd6_zsa_stateobj(emit->ctx->zsa); struct pipe_framebuffer_state *pfb = &emit->ctx->batch->framebuffer; @@ -646,12 +646,12 @@ fd6_emit_state(struct fd_ringbuffer *ring, struct fd6_emit *emit) if ((dirty & (FD_DIRTY_ZSA | FD_DIRTY_PROG)) && pfb->zsbuf) { struct fd_ringbuffer *state; - state = build_zsa(emit, false); - fd6_emit_add_group(emit, state, FD6_GROUP_ZSA, 0x6); + state = build_lrz(emit, false); + fd6_emit_add_group(emit, state, FD6_GROUP_LRZ, 0x6); fd_ringbuffer_del(state); - state = build_zsa(emit, true); - fd6_emit_add_group(emit, state, FD6_GROUP_ZSA_BINNING, 0x1); + state = build_lrz(emit, true); + fd6_emit_add_group(emit, state, FD6_GROUP_LRZ_BINNING, 0x1); fd_ringbuffer_del(state); } diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h index 745be6a5996..79b77ecedc9 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h @@ -45,8 +45,8 @@ struct fd_ringbuffer; enum fd6_state_id { FD6_GROUP_PROG, FD6_GROUP_PROG_BINNING, - FD6_GROUP_ZSA, - FD6_GROUP_ZSA_BINNING, + FD6_GROUP_LRZ, + FD6_GROUP_LRZ_BINNING, FD6_GROUP_VBO, FD6_GROUP_VBO_BINNING, FD6_GROUP_VS_CONST,