i965/vec4: fix store output for 64-bit types
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 1 Jul 2016 07:01:56 +0000 (09:01 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commitb76f2206f550c37835d4e19eea1588caa0211b85
tree0002a6c3bee3f2a31c2b2ab775b1b272dc87ca0f
parent5fe8d567d8dadeb2b77addd73762f6bde4acfac2
i965/vec4: fix store output for 64-bit types

We need to shuffle the data before it is written to the URB. Also,
dvec3/4 need two vec4 slots.

v2: use byte_offset() instead of offset().

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