Re: [Mesa-dev] [PATCH] mesa: simplify and optimise vertex bindings tracking

2017-04-07 Thread Juan A. Suarez Romero
Reviewed-by: Juan A. Suarez Romero On Thu, 2017-04-06 at 14:47 +1000, Timothy Arceri wrote: > We only need to update it if something changes. Also > _mesa_bind_vertex_buffer() will update the mask when binding to a > NULL or default buffer so no need to do that update here. > --- > src/mesa/mai

[Mesa-dev] [PATCH] mesa: simplify and optimise vertex bindings tracking

2017-04-05 Thread Timothy Arceri
We only need to update it if something changes. Also _mesa_bind_vertex_buffer() will update the mask when binding to a NULL or default buffer so no need to do that update here. --- src/mesa/main/varray.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/varr