i965/vs: Move some functions from brw_vec4_emit.cpp to brw_vec4.cpp.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 05:46:27 +0000 (21:46 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Nov 2012 02:15:26 +0000 (18:15 -0800)
commitdd50c88386c8220f4631115b68a10930378ead6c
tree54f1d672cd67b28e385d8fa353df9e5188ea84a3
parent9947470655bbf8f4a9c98fe6d93ff5c3486f1124
i965/vs: Move some functions from brw_vec4_emit.cpp to brw_vec4.cpp.

This leaves only the final code generation stage in brw_vec4_emit.cpp,
moving the payload setup, run(), and brw_vs_emit functions to brw_vec4.cpp.

The fragment shader backend puts these functions in brw_fs.cpp, so this
patch also helps with consistency.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp