Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16086>
}
static void X(fd_ringbuffer_sp_emit_reloc_nonobj)(struct fd_ringbuffer *ring,
- const struct fd_reloc *reloc)
+ const struct fd_reloc *reloc)
{
X(emit_reloc_common)(ring, reloc);
}
static void X(fd_ringbuffer_sp_emit_reloc_obj)(struct fd_ringbuffer *ring,
- const struct fd_reloc *reloc)
+ const struct fd_reloc *reloc)
{
X(emit_reloc_common)(ring, reloc);
ctx->batch->tessellation = true;
}
- uint32_t index_start = info->index_size ? draw->index_bias : draw->start;
+ uint32_t index_start = info->index_size ? draw->index_bias : draw->start;
if (ctx->last.dirty || (ctx->last.index_start != index_start)) {
OUT_PKT4(ring, REG_A6XX_VFD_INDEX_OFFSET, 1);
OUT_RING(ring, index_start); /* VFD_INDEX_OFFSET */