i965: Fix hangs with FP KIL instructions pre-gen6.
authorEric Anholt <eric@anholt.net>
Wed, 14 Nov 2012 19:44:57 +0000 (11:44 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 26 Nov 2012 04:22:02 +0000 (20:22 -0800)
commit97747ac88fe9207dde83b275a93ebcee3a84dc01
treec3fcbfd99349fcbf356a7fa3ea56c458b0eee452
parent59bfd66a614177320817a97e1dadfcfcf3b9b092
i965: Fix hangs with FP KIL instructions pre-gen6.

We can't support IF statements in 16-wide on these.  To get back to 16-wide
for these shaders, we need to support predicate on discard instructions in the
backend IR, which is something we've sort of got on the list to do anyway.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55828
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_fp.cpp