From: Connor Abbott Date: Thu, 13 Aug 2015 21:22:03 +0000 (-0700) Subject: i965: add brw_vecn_grf() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed74b19ab49f9c47ffe40309fee201697c347c3e;p=mesa.git i965: add brw_vecn_grf() Reviewed-by: Francisco Jerez Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index 8907c9c5c60..1fa25959d77 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -722,6 +722,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)