i965/fs: Abort on unsupported opcodes rather than failing.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Nov 2012 01:02:23 +0000 (17:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 03:52:34 +0000 (19:52 -0800)
commitdd1fd300473bd58929e5a1b1a5e5a0e82af9d7cf
tree53ffa6ffc709abec734c46ec800c38a24e379520
parentcd0acb1abe4c2c3120acf18f594210989bd8ec2e
i965/fs: Abort on unsupported opcodes rather than failing.

Final code generation should never fail.  This is a bug, and there
should be no user-triggerable cases where this could occur.

Also, we're not going to have a fail() method in a moment.

v2: Just abort() rather than assert, to cover the NDEBUG case
    (suggested by Eric).

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_emit.cpp