From 30739265122fd82edcb7a26ae058699c47cabee2 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Thu, 25 Oct 2018 13:35:15 -0700 Subject: [PATCH] freedreno/a6xx: Rename FD6_GROUP_ZSA ro FD6_GROUP_LRZ Signed-off-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 10 +++++----- src/gallium/drivers/freedreno/a6xx/fd6_emit.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) 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, -- 2.30.2