i965: Don't try to fall back when creating unrecognized program targets.
authorPaul Berry <stereotype441@gmail.com>
Fri, 23 Aug 2013 18:43:26 +0000 (11:43 -0700)
committerPaul Berry <stereotype441@gmail.com>
Mon, 26 Aug 2013 15:55:39 +0000 (08:55 -0700)
commit4bf91ca791844c16fda48f54386f1b30f6acefca
tree6fcada2e4d95fcf2b9c66acaffc3cac71427f6ac
parent46fd81e586f0c1a76ab66b9a7558783c481f111e
i965: Don't try to fall back when creating unrecognized program targets.

If brwNewProgram is asked to create a program for an unrecognized
target, don't bother falling back on _mesa_new_program().  That just
hides bugs.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
v2: Use assert() rather than _mesa_problem().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_program.c