[Mesa-dev] [PATCH 7/9] intel/nir: Use the new dead write vars pass

Jason Ekstrand jason at jlekstrand.net
Wed Aug 22 19:45:50 UTC 2018


shader-db numbers?

On Wed, Aug 15, 2018 at 4:57 PM Caio Marcelo de Oliveira Filho <
caio.oliveira at intel.com> wrote:

> ---
>  src/intel/compiler/brw_nir.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
> index 31ffbe613ec..afc73e58c71 100644
> --- a/src/intel/compiler/brw_nir.c
> +++ b/src/intel/compiler/brw_nir.c
> @@ -543,6 +543,7 @@ brw_nir_optimize(nir_shader *nir, const struct
> brw_compiler *compiler,
>        progress = false;
>        OPT(nir_lower_vars_to_ssa);
>        OPT(nir_opt_copy_prop_vars);
> +      OPT(nir_opt_dead_write_vars);
>
>        if (is_scalar) {
>           OPT(nir_lower_alu_to_scalar);
> --
> 2.18.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180822/7494ff1c/attachment.html>


More information about the mesa-dev mailing list