mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
glthread: remove the vbo_upload_ratio_too_large fallback for glMultiDrawElements
This would be possible to implement, but we don't know of any app where it would help. Now glthread fully handles all non-VBO uploads except glDrawIndirect. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824>
This commit is contained in:
parent
98a0e8c908
commit
7921396c7b
1 changed files with 0 additions and 5 deletions
|
|
@ -1233,11 +1233,6 @@ _mesa_marshal_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count,
|
|||
basevertex, NULL, 0, NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
/* If there is too much data to upload, sync and let the driver unroll
|
||||
* indices. */
|
||||
if (util_is_vbo_upload_ratio_too_large(total_count, num_vertices))
|
||||
goto sync;
|
||||
} else if (has_user_indices) {
|
||||
/* Only compute total_count for the upload of indices. */
|
||||
for (unsigned i = 0; i < draw_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue