[Mesa-stable] [PATCH 1/8] nir/intrinsics: Make load_barycentric_input take a 2-component coor

Emil Velikov emil.l.velikov at gmail.com
Tue Mar 14 12:20:36 UTC 2017


On 4 March 2017 at 01:12, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Cc: "17.0 13.0" <mesa-stable at lists.freedesktop.org>
> ---
>  src/compiler/nir/nir_intrinsics.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/compiler/nir/nir_intrinsics.h b/src/compiler/nir/nir_intrinsics.h
> index f45bfe2..5c8f283 100644
> --- a/src/compiler/nir/nir_intrinsics.h
> +++ b/src/compiler/nir/nir_intrinsics.h
> @@ -401,7 +401,9 @@ LOAD(input, 1, 2, BASE, COMPONENT, xx, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINS
>  /* src[] = { vertex, offset }. const_index[] = { base, component } */
>  LOAD(per_vertex_input, 2, 2, BASE, COMPONENT, xx, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
>  /* src[] = { barycoord, offset }. const_index[] = { base, component } */
> -LOAD(interpolated_input, 2, 2, BASE, COMPONENT, xx, NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
> +INTRINSIC(load_interpolated_input, 2, ARR(2, 1), true, 0, 0,
> +          2, BASE, COMPONENT, xx,
> +          NIR_INTRINSIC_CAN_ELIMINATE | NIR_INTRINSIC_CAN_REORDER)
>
Looking through master - this did not seem to have lander, in it's current form.
is it superseded, fallen through the cracks or simply short on review ?

Thanks
Emil


More information about the mesa-stable mailing list