i965/vec4: fix scratch reads for 64bit data
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 28 Jun 2016 10:02:24 +0000 (12:02 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commitdcc36f8b29ebc15ac4a8077e0902bf87c1de581c
tree36c88b532ecef5ce08516c7d3495e4bb73eae09b
parente4d9ab609f217bde95722e76a98d646890c9abc9
i965/vec4: fix scratch reads for 64bit data

v2: Setup for a 64-bit scratch read by checking the type size of the
    correct register

v3: Use byte_offset() instead of offset()

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