[Mesa-dev] [PATCH 10/12] i965/fs: Assert on unsupported opcodes rather than failing.

Eric Anholt eric at anholt.net
Mon Nov 26 10:55:40 PST 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> 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.

I'd say just abort() here.  It's better for the user than just plowing
ahead in the NDEBUG case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121126/572e876f/attachment.pgp>


More information about the mesa-dev mailing list