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:
Marek Olšák 2022-12-24 12:36:49 -05:00
parent 98a0e8c908
commit 7921396c7b

View file

@ -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++) {