Both are

Reviewed-by: Jason Ekstrand <jason.ekstr...@intel.com>
On Jul 16, 2015 5:12 PM, "Jordan Justen" <jordan.l.jus...@intel.com> wrote:

> This prevents an assertion failure in brw_fs_live_variables.cpp,
> fs_live_variables::setup_one_write: Assertion `var < num_vars' failed.
>
> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
> Cc: Jason Ekstrand <ja...@jlekstrand.net>
> ---
>  src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> index 94d6a58..d6a60a7 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> @@ -1960,7 +1960,7 @@ fs_visitor::emit_cs_terminate()
>      */
>     struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UD);
>     fs_reg payload = fs_reg(GRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD);
> -   bld.exec_all().MOV(payload, g0);
> +   bld.group(8, 0).exec_all().MOV(payload, g0);
>
>     /* Send a message to the thread spawner to terminate the thread. */
>     fs_inst *inst = bld.exec_all()
> --
> 2.1.4
>
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to