mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
Revert "r600: don't set an index_bias for indirect draw calls"
This reverts commit acdf1a1234.
While this commit fixed the gles CTS regressions, it introduced
regressions that made the driver unusable, hence the revert.
Closes #4657
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10311>
This commit is contained in:
parent
f90d625841
commit
1b5851fadb
1 changed files with 1 additions and 1 deletions
|
|
@ -2225,7 +2225,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info
|
|||
}
|
||||
index_bias = info->index_bias;
|
||||
} else {
|
||||
index_bias = indirect ? 0 : draws[0].start;
|
||||
index_bias = draws[0].start;
|
||||
}
|
||||
|
||||
/* Set the index offset and primitive restart. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue