Re: [Mesa-dev] [PATCH 12/19] mesa: Refactor set_ubo_binding()

2014-04-28 Thread Fredrik Höglund
On Monday 28 April 2014, Ian Romanick wrote: > On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > > Make set_ubo_binding() just update the binding, and move the code > > that does validation, flushes the vertices etc. into a new > > bind_uniform_buffer() function. > > --- > > > > v2: Document the di

Re: [Mesa-dev] [PATCH 12/19] mesa: Refactor set_ubo_binding()

2014-04-28 Thread Ian Romanick
On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > Make set_ubo_binding() just update the binding, and move the code > that does validation, flushes the vertices etc. into a new > bind_uniform_buffer() function. > --- > > v2: Document the difference between set_ubo_binding() and > bind_uniform_b

[Mesa-dev] [PATCH 12/19] mesa: Refactor set_ubo_binding()

2014-04-21 Thread Fredrik Höglund
Make set_ubo_binding() just update the binding, and move the code that does validation, flushes the vertices etc. into a new bind_uniform_buffer() function. --- v2: Document the difference between set_ubo_binding() and bind_uniform_buffer(). src/mesa/main/bufferobj.c | 63 +++