i965/vec4: add a horiz_offset() helper
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 25 Aug 2016 08:02:45 +0000 (10:02 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit07cadc306ec161fdf566918175f8d8fc618d9c1b
tree243f70870179252242fb492fcd11d910496daf89
parent4ea3bf8ebb56c8db6e885a77d81502a0b2adca4f
i965/vec4: add a horiz_offset() helper

This will come in handy when we implement a simd lowering pass in a
follow-up patch.

v2: use byte_offset()

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_ir_vec4.h