From: Christian Gmeiner Date: Fri, 3 Jan 2020 09:27:00 +0000 (+0100) Subject: etnaviv: use a better name for FE_VERTEX_STREAM_UNK14680 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b178262cb9db9cb7e9deeb503bd4346ab8be6e72;p=mesa.git etnaviv: use a better name for FE_VERTEX_STREAM_UNK14680 Signed-off-by: Christian Gmeiner --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_emit.c b/src/gallium/drivers/etnaviv/etnaviv_emit.c index 25431477a7a..4982cdb9074 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_emit.c +++ b/src/gallium/drivers/etnaviv/etnaviv_emit.c @@ -329,7 +329,7 @@ etna_emit_state(struct etna_context *ctx) } for (int x = 0; x < ctx->vertex_buffer.count; ++x) { if (ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_BASE_ADDR.bo) { - /*14680*/ EMIT_STATE(NFE_VERTEX_STREAMS_VERTEX_DIVISOR(x), ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_UNK14680); + /*14680*/ EMIT_STATE(NFE_VERTEX_STREAMS_VERTEX_DIVISOR(x), ctx->vertex_buffer.cvb[x].FE_VERTEX_STREAM_VERTEX_DIVISOR); } } } else if(ctx->specs.stream_count > 1) { /* hw w/ multiple vertex streams */ diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h index fcad76513d9..25f6a38ab98 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -233,7 +233,7 @@ struct compiled_vertex_elements_state { /* Compiled context->set_vertex_buffer result */ struct compiled_set_vertex_buffer { uint32_t FE_VERTEX_STREAM_CONTROL; - uint32_t FE_VERTEX_STREAM_UNK14680; + uint32_t FE_VERTEX_STREAM_VERTEX_DIVISOR; struct etna_reloc FE_VERTEX_STREAM_BASE_ADDR; };