mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
freedreno/a6xx: Use with_crb() helper
Small cleanup that was missed when introducing the helper. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38450>
This commit is contained in:
parent
392293ce48
commit
b2349354e3
1 changed files with 1 additions and 3 deletions
|
|
@ -440,9 +440,7 @@ draw_vbos(struct fd_context *ctx, const struct pipe_draw_info *info,
|
|||
ctx->batch->tessellation = true;
|
||||
}
|
||||
|
||||
{
|
||||
fd_crb crb(cs, 3);
|
||||
|
||||
with_crb (cs, 3) {
|
||||
uint32_t index_start = is_indexed(DRAW) ? draws[0].index_bias : draws[0].start;
|
||||
if (ctx->last.dirty || (ctx->last.index_start != index_start)) {
|
||||
crb.add(A6XX_VFD_INDEX_OFFSET(index_start));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue