mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
Revert "r600: don't set an index_bias for indirect draw calls"
This reverts commitacdf1a1234. 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> (cherry picked from commit1b5851fadb)
This commit is contained in:
parent
4a5f6581a6
commit
4a44e69ab1
2 changed files with 2 additions and 2 deletions
|
|
@ -976,7 +976,7 @@
|
|||
"description": "Revert \"r600: don't set an index_bias for indirect draw calls\"",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "acdf1a123436cb3fa7d4bbc9cfbb9566c7693de4"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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