i965: Add non-mutating helper functions to modify the register offset.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 14:19:10 +0000 (15:19 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 19 Feb 2014 15:27:25 +0000 (16:27 +0100)
commit2337820d49149126991d0814b225db7b57789016
treed2d61c98669721b591447fde22785e1396223c66
parentaf25addcd0aaf373bd91c6a0b6c97d4c73092f91
i965: Add non-mutating helper functions to modify the register offset.

Yes, we could avoid having four copies of essentially the same code by
using templates here.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_vec4.h