i965/fs: Allow SIMD16 with control flow on Ivybridge.

The check was designed to forbid it on old generations (Gen5/Ironlake),
not on new ones.  It just works on Gen7/Ivybridge.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit ae5da817e2aeb9f9447fdd6d2eb4b22d6f8f6a87)
This commit is contained in:
Kenneth Graunke 2011-09-26 23:57:39 -07:00
parent 38dfedccb2
commit 9bbf2a343f

View file

@ -1451,7 +1451,7 @@ fs_visitor::visit(ir_if *ir)
{
fs_inst *inst;
if (intel->gen != 6 && c->dispatch_width == 16) {
if (intel->gen < 6 && c->dispatch_width == 16) {
fail("Can't support (non-uniform) control flow on 16-wide\n");
}