gallium/u_threaded: remove the count=0 path from tc_call_set_vertex_buffers
The default path has the same behavior. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27492>
This commit is contained in:
@@ -2163,11 +2163,6 @@ tc_call_set_vertex_buffers(struct pipe_context *pipe, void *call)
|
||||
struct tc_vertex_buffers *p = (struct tc_vertex_buffers *)call;
|
||||
unsigned count = p->count;
|
||||
|
||||
if (!count) {
|
||||
pipe->set_vertex_buffers(pipe, 0, false, NULL);
|
||||
return call_size(tc_vertex_buffers);
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < count; i++)
|
||||
tc_assert(!p->slot[i].is_user_buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user