i965/ir/vec4: Refactor visit(ir_texture *ir)
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 6 Jul 2015 12:33:21 +0000 (14:33 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit1343f403b2d08a0877f17133abb6dccf0f51127b
treee8af093b30a95a69ccd661357a85b1f6df88f4fa
parent0d43d27df742ad95a086580bae2ee08a0bc00e69
i965/ir/vec4: Refactor visit(ir_texture *ir)

Splitted in two. The emission is moved to a new vec4_visitor
method, vec4_visitor::emit_texture, ir order to be reused
on the nir path.

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