Sorry to ask, but... this one is so trivial and touches code that no
earlier patch touches, why don't we just squash it into the commit
that adds nir.c?

On Tue, Dec 16, 2014 at 1:04 AM, Jason Ekstrand <ja...@jlekstrand.net> wrote:
> ---
>  src/glsl/nir/nir.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
> index 0124799..3c897b2 100644
> --- a/src/glsl/nir/nir.c
> +++ b/src/glsl/nir/nir.c
> @@ -840,6 +840,7 @@ handle_jump(nir_block *block)
>              unlink_blocks(last_block, after_block);
>        }
>     } else {
> +      assert(jump_instr->type == nir_jump_return);
>        link_blocks(block, impl->end_block, NULL);
>     }
>  }
> --
> 2.2.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to