nv50: assert before trying to out-of-bounds access samplers
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Jan 2014 17:29:42 +0000 (17:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jan 2014 19:17:37 +0000 (19:17 +0000)
commit3805a864b1df00ddb6053f616435326f31007663
tree9d952cc1b523efc1f5b4bd32567f4936241f1eed
parent6a53b81086bd80ad5a5e79939e0aeb208253026a
nv50: assert before trying to out-of-bounds access samplers

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_state.c
src/gallium/drivers/nouveau/nv50/nv50_tex.c