i965/vec4: Move type_size() method to brw_vec4_visitor class
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 16 Jun 2015 11:39:48 +0000 (13:39 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:46 +0000 (09:40 -0700)
commit78e7ce2b7329f8cc3f771afbf39d3fa662e02d9e
tree8ffc28f40a828fe848d756b98b25084e27152429
parent47d68908f2c3ad3e9011a2cf910b04cd3300673a
i965/vec4: Move type_size() method to brw_vec4_visitor class

The type_size() method is currently accessible only in the implementation
of vec4_visitor. Since we need to reuse it in the upcoming NIR->vec4 pass,
lets make it a method of the class instead.

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