i965/vec4: Fix SSBO stores for 64-bit data
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 12 Feb 2016 13:05:11 +0000 (14:05 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit8eea41e75d86bfe9bef5f69b25ad797da236a008
tree060da870f09d5d48ff7061b38f8686d5d8fdc638
parent9998d55afd179ad5019d3841e4c3255a02fd2d7b
i965/vec4: Fix SSBO stores for 64-bit data

In this case we need to shuffle the 64-bit data before we write it
to memory, source from reg_offset + 1 to write components Z and W
and consider that each DF channel is twice as big.

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

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