mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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:
parent
6ab25f5cde
commit
b66ee99bc2
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
struct tc_vertex_buffers *p = (struct tc_vertex_buffers *)call;
|
||||||
unsigned count = p->count;
|
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++)
|
for (unsigned i = 0; i < count; i++)
|
||||||
tc_assert(!p->slot[i].is_user_buffer);
|
tc_assert(!p->slot[i].is_user_buffer);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue