nv50: assert before trying to out-of-bounds access constbuf
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Jan 2014 16:35:27 +0000 (16:35 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jan 2014 19:17:15 +0000 (19:17 +0000)
commit5e130f237173a9fc241d7df4d989d046206ba3b2
tree6d1918ef09a3b446180b976d7e101d83c9c05484
parent12e744abbb9fd8cb07a12954aaa7127521d5af0a
nv50: assert before trying to out-of-bounds access constbuf

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_shader_state.c
src/gallium/drivers/nouveau/nv50/nv50_state.c