nv50: assert before trying to out-of-bounds access framebuffer.cbufs
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Jan 2014 17:34:31 +0000 (17:34 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jan 2014 19:17:41 +0000 (19:17 +0000)
commite1e30f6dfb52b5c59ed551f13316bce0c039de79
treef381f4e3eff4de36b4543c19e37fb883a79799be
parent3805a864b1df00ddb6053f616435326f31007663
nv50: assert before trying to out-of-bounds access framebuffer.cbufs

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