Re: [Mesa-dev] [PATCH 1/4] nv50: add missing brackets when handling the samplers array

2014-03-12 Thread Ilia Mirkin
On Wed, Mar 12, 2014 at 1:24 PM, Emil Velikov wrote: > Commit 3805a864b1d(nv50: assert before trying to out-of-bounds access > samplers) introduced a series of asserts as a precausion of a previous > illegal memory access. > > Although it failed to encapsulate loop within nv50_sampler_state_delete

[Mesa-dev] [PATCH 1/4] nv50: add missing brackets when handling the samplers array

2014-03-12 Thread Emil Velikov
Commit 3805a864b1d(nv50: assert before trying to out-of-bounds access samplers) introduced a series of asserts as a precausion of a previous illegal memory access. Although it failed to encapsulate loop within nv50_sampler_state_delete effectively failing to clear the sampler state, apart from exa