nv50/ra: let simplify return an error and handle that
authorKarol Herbst <karolherbst@gmail.com>
Mon, 3 Oct 2016 16:55:09 +0000 (18:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 5 Oct 2016 17:11:42 +0000 (19:11 +0200)
commitd8bcd3ef3723e14a9deabd1cab35b13d80fbbcea
tree5b3db90e8146f06ec590b143d761ffef0c6932ea
parentf315c4f18987dc22d367361c1641a990eded42d6
nv50/ra: let simplify return an error and handle that

fixes a crash in the case simplify reports an error

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp