[Mesa-dev] [PATCH v2 1/4] intel/nir: Use the correct scalar stage for consumers when linking

Kenneth Graunke kenneth at whitecape.org
Tue Jul 31 21:52:07 UTC 2018


On Tuesday, July 31, 2018 12:22:00 PM PDT Jason Ekstrand wrote:
> ---
>  src/intel/compiler/brw_nir.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
> index 5990427b731..17ccfa48af6 100644
> --- a/src/intel/compiler/brw_nir.c
> +++ b/src/intel/compiler/brw_nir.c
> @@ -730,7 +730,7 @@ brw_nir_link_shaders(const struct brw_compiler *compiler,
>        *producer = brw_nir_optimize(*producer, compiler, p_is_scalar);
>  
>        const bool c_is_scalar =
> -         compiler->scalar_stage[(*producer)->info.stage];
> +         compiler->scalar_stage[(*consumer)->info.stage];
>        *consumer = brw_nir_optimize(*consumer, compiler, c_is_scalar);
>     }
>  }
> 

Patches 1-2 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180731/b8e8a0dc/attachment.sig>


More information about the mesa-dev mailing list