i965/nir/vec4: Add implementation of nir_emit_texture()
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 6 Jul 2015 13:08:15 +0000 (15:08 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit19cf934f7f18237e1a212b0a019026d5d36c6fac
tree69025bf479ffea487d53d44c739e840b7c7ffc84
parent1343f403b2d08a0877f17133abb6dccf0f51127b
i965/nir/vec4: Add implementation of nir_emit_texture()

Uses the nir structure to get all the info needed (sources,
dest reg, etc), and then it uses the common
vec4_visitor::emit_texture to emit the final code.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp