[Mesa-dev] [PATCH 2/4] nir: allow opt_peephole_select to handle nir_instr_type_deref
Jason Ekstrand
jason at jlekstrand.net
Mon Jul 16 04:22:42 UTC 2018
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Sun, Jul 15, 2018 at 4:26 PM Timothy Arceri <tarceri at itsqueeze.com>
wrote:
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> ---
> src/compiler/nir/nir_opt_peephole_select.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/compiler/nir/nir_opt_peephole_select.c
> b/src/compiler/nir/nir_opt_peephole_select.c
> index 8fa99117f4c..ad9d0abec03 100644
> --- a/src/compiler/nir/nir_opt_peephole_select.c
> +++ b/src/compiler/nir/nir_opt_peephole_select.c
> @@ -89,6 +89,7 @@ block_check_for_allowed_instrs(nir_block *block,
> unsigned *count, bool alu_ok)
> break;
> }
>
> + case nir_instr_type_deref:
> case nir_instr_type_load_const:
> break;
>
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180715/9bf33566/attachment.html>
More information about the mesa-dev
mailing list