i965/fs: use byte_offset() in offset() for uniforms
authorConnor Abbott <connor.w.abbott@intel.com>
Tue, 28 Jul 2015 23:53:53 +0000 (16:53 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:07 +0000 (11:25 +0200)
commitcc64c9e441acce45b1a7531d1762d152ad9ce22f
tree3031afaf8e3facaf7e4754c101acf31b5f9c4e3a
parentfe949949a91ff10e28024ce1a80797832adb408d
i965/fs: use byte_offset() in offset() for uniforms

This makes things more consistent, and also fixes the offset calculation
for double uniforms.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h