i965/vec4: add a byte_offset helper
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 3 Oct 2016 11:24:22 +0000 (13:24 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 27 Oct 2016 08:59:31 +0000 (10:59 +0200)
commit5a4ce9f9a79934e4cfc2034c7d181a671e2563bf
treeff9da384013bf661e454378b1cbbb30909e2afd1
parent173558445dce26ce641faf260a17696221acf23d
i965/vec4: add a byte_offset helper

v2: wrap the helper in a namespace to make clear that it is an
    implementation detail of byte_offset() and is not intended
    to be used independently (Curro).

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_ir_vec4.h