i965/fs: Move offset(fs_reg, unsigned) to brw_fs.h
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Jun 2015 17:55:51 +0000 (10:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Jun 2015 23:11:19 +0000 (16:11 -0700)
commit7fcbe141076d18bf0245de1fd589c82f7c543fdf
tree1ae81d2696268f72c6d8ff2a0d210e30aa3c5cf3
parentb535ba55ed6023f402374aeff79f9f37dbb21df0
i965/fs: Move offset(fs_reg, unsigned) to brw_fs.h

Shortly, offset() will depend on the builder so we need it moved to some
place where it has access to that.

Reviewed-by: Iago Toral Quiroga <itoral@igali.com>
Acked-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_ir_fs.h