intel/fs: Use fs_regs instead of brw_regs in the unlit centroid workaround
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 13 Jan 2017 23:18:07 +0000 (15:18 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commitd996e5b81225e84944b09f1d48b4b16e1ec4ed0c
tree150af6e470ed9be5ad01129f088f3cb7644821bc
parent38aee1a06d595ab4066240a5c04500dacaa01f6b
intel/fs: Use fs_regs instead of brw_regs in the unlit centroid workaround

While we're here, we change to using horiz_offset() instead of abusing
half().

v2 (Jason Ekstrand):
 - Use horiz_offset() instead of half()

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_visitor.cpp