nv50: assert before trying to out-of-bounds access textures
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Jan 2014 17:08:19 +0000 (17:08 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jan 2014 19:17:34 +0000 (19:17 +0000)
commit6a53b81086bd80ad5a5e79939e0aeb208253026a
tree7cbb229d7415f3ed857af46f5e083f52b07cde46
parent19069803bed95e64bf43185e7f02550ebbf92dde
nv50: assert before trying to out-of-bounds access textures

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