i965: add brw_vecn_grf()
authorConnor Abbott <connor.w.abbott@intel.com>
Thu, 13 Aug 2015 21:22:03 +0000 (14:22 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:50 +0000 (11:26 +0100)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_reg.h

index 8907c9c5c60e86083759bd7bc1f3fcbbfe5dfb09..1fa25959d77a29512649bee83db6e3bf93048940 100644 (file)
@@ -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)