On Mon, 26 Sep 2011 23:57:39 -0700, Kenneth Graunke <kenn...@whitecape.org> 
wrote:
> 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 <kenn...@whitecape.org>
> ---
>  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 df43be0..60d79ef 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");
>     }

These two are
Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpjwE0p1LINP.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to