[Mesa-dev] [PATCH 13/95] i965: add brw_vecn_grf()

Francisco Jerez currojerez at riseup.net
Wed Aug 3 00:57:03 UTC 2016


Iago Toral Quiroga <itoral at igalia.com> writes:

> From: Connor Abbott <connor.w.abbott at intel.com>
>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

> ---
>  src/mesa/drivers/dri/i965/brw_reg.h | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h
> index 38cf8e3..e4c3e7a 100644
> --- a/src/mesa/drivers/dri/i965/brw_reg.h
> +++ b/src/mesa/drivers/dri/i965/brw_reg.h
> @@ -716,6 +716,12 @@ brw_vec16_grf(unsigned nr, unsigned subnr)
>     return brw_vec16_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
>  }
>  
> +static inline struct brw_reg
> +brw_vecn_grf(unsigned width, unsigned nr, unsigned subnr)
> +{
> +   return brw_vecn_reg(width, BRW_GENERAL_REGISTER_FILE, nr, subnr);
> +}
> +
>  
>  static inline struct brw_reg
>  brw_uw8_grf(unsigned nr, unsigned subnr)
> -- 
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160802/300ab636/attachment.sig>


More information about the mesa-dev mailing list