i965/vec4: Change vec4_visitor::swizzle_result() method to allow reuse
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 6 Jul 2015 11:31:05 +0000 (13:31 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commitc15eea2afa7a295992cde949b8e2a5d4552f6290
treeb460adbbe1a3626a46f1dd86bf234f43e0c7472b
parent57182332b84b58fed6641314def67450893b7419
i965/vec4: Change vec4_visitor::swizzle_result() method to allow reuse

This patch changes the signature of swizzle_result() to accept lower
level arguments. The purpose is to reuse it in the upcoming NIR->vec4
pass.

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