nv50: assert before trying to out-of-bounds access vtxbuf
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Jan 2014 16:53:45 +0000 (16:53 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jan 2014 19:17:24 +0000 (19:17 +0000)
commit1773611c526844cecee84dd8c8241f888666aa1c
tree42b8a2a9a59dce22e5aeac87de6a61b1061e3fe5
parent741e935a72b57cba2999239ce6d2bd3744214376
nv50: assert before trying to out-of-bounds access vtxbuf

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