i965/vec4: make emit_pull_constant_load support 64-bit loads
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 15 Jul 2016 11:02:27 +0000 (13:02 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commitae400e38d90ea2fddf1b050ff94f52bdec94e150
treed0cc70468a3e96e6464e51f3b2adfd3b2e62ed8e
parentdf6e3aa6ae23346bad59d071d340a67be0e2a2c5
i965/vec4: make emit_pull_constant_load support 64-bit loads

This way callers don't need to know about 64-bit particularities and
we reuse some code.

v2:
  - use byte_offset() instead of offset()
  - only mark the surface as used once

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