diff options
author | Kristian H. Kristensen <[email protected]> | 2018-10-25 13:35:15 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-10-26 18:10:00 -0400 |
commit | 30739265122fd82edcb7a26ae058699c47cabee2 (patch) | |
tree | 1bc276d3672a41a448ec187a861842a7fbba55c6 /src/gallium/drivers/freedreno/a6xx | |
parent | edc0f1b10f04a4c4ea0f324b3dd95a7c17aebf69 (diff) |
freedreno/a6xx: Rename FD6_GROUP_ZSA ro FD6_GROUP_LRZ
Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 10 | ||||
-rw-r--r-- | 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, |