diff options
author | Kenneth Graunke <[email protected]> | 2011-09-26 23:57:39 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-09-28 00:52:36 -0700 |
commit | 79cba4c2b17456e2b25ac555c45e1c106b4e3f6b (patch) | |
tree | a068f6235b56c33115650f7f734169560c5ea9ff /src/mesa | |
parent | b095b683f8451b54cca52593dc331f82844c9c30 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index df43be0555a..60d79ef056c 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -1522,7 +1522,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"); } |