freedreno/a6xx: Rename FD6_GROUP_ZSA ro FD6_GROUP_LRZ
authorKristian H. Kristensen <hoegsberg@chromium.org>
Thu, 25 Oct 2018 20:35:15 +0000 (13:35 -0700)
committerRob Clark <robdclark@gmail.com>
Fri, 26 Oct 2018 22:10:00 +0000 (18:10 -0400)
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h

index 5fb3a04034d49ece1d9b90040e1f4f03fcb5affd..bf85378981e91f5fb4562e91e6128b394154c1cd 100644 (file)
@@ -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);
        }
 
index 745be6a5996f80fef874826886681088222e1fab..79b77ecedc92c934b7b1a48dcda96924ad651445 100644 (file)
@@ -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,