i965/vs: move ARB_vertex_program functions to vec4_vs_visitor.
authorPaul Berry <stereotype441@gmail.com>
Sat, 16 Feb 2013 04:27:03 +0000 (20:27 -0800)
committerPaul Berry <stereotype441@gmail.com>
Thu, 11 Apr 2013 16:25:25 +0000 (09:25 -0700)
commit0ce95222aff64a316b95c67ef427901ffbe3e061
treea37179486852dd1f50479c4cc48ca3345112f042
parent42a3d63dd4470be73b92b5d87daa32a9c293f127
i965/vs: move ARB_vertex_program functions to vec4_vs_visitor.

This patch moves functions from vec4_visitor to vec4_vs_visitor that
deal with ARB (assembly) vertex programs.  There's no point in having
these functions in the base class since we don't intend to support
assembly programs for the GS stage.  The following functions are
moved:

- setup_vp_regs
- get_vp_dst_reg
- get_vp_src_reg

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_vp.cpp