Mesa (master): etnaviv: use a better name for FE_VERTEX_STREAM_UNK14680

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jan 4 13:28:45 UTC 2020


Module: Mesa
Branch: master
Commit: b178262cb9db9cb7e9deeb503bd4346ab8be6e72
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b178262cb9db9cb7e9deeb503bd4346ab8be6e72

Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date:   Fri Jan  3 10:27:00 2020 +0100

etnaviv: use a better name for FE_VERTEX_STREAM_UNK14680

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>

---

 src/gallium/drivers/etnaviv/etnaviv_emit.c     | 2 +-
 src/gallium/drivers/etnaviv/etnaviv_internal.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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;
 };
 




More information about the mesa-commit mailing list