intel/eu/reg: Add a subscript() helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Oct 2017 02:50:36 +0000 (19:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit10e4feed39120072f38274b95e884422f72f360f
tree07a483c21f724607953b2eacf206b13f8e613ae3
parent068beb41d831919cb0fb82d01daaee1c57679803
intel/eu/reg: Add a subscript() helper

This is similar to the identically named fs_reg helper.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/compiler/brw_reg.h