summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-08-13 14:22:03 -0700
committerSamuel Iglesias Gonsálvez <[email protected]>2017-01-03 11:26:50 +0100
commited74b19ab49f9c47ffe40309fee201697c347c3e (patch)
tree5d5652347f2131fc57c6a7266f6d5c3b66d0e7b3 /src/mesa/drivers/dri/i965
parente09a6be3b6806c582347f6faf93cc2d824d98ed2 (diff)
i965: add brw_vecn_grf()
Reviewed-by: Francisco Jerez <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_reg.h6
1 files changed, 6 insertions, 0 deletions
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)