i965/vec4: Eliminate the vec4_generator class altogether.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Oct 2015 22:35:15 +0000 (15:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Oct 2015 23:56:41 +0000 (16:56 -0700)
commitc6b24448b578c4a8ab031923df3ef1e2d865d5bb
treef4ae78cac667c12fec0fe046f79302a57dc195fe
parent1a094a2ee2d63073ac12c8ab0dbd38c0e9270cf5
i965/vec4: Eliminate the vec4_generator class altogether.

We really weren't taking advantage of vec4_generator being a class.
By adding a "p" parameter to the helper methods, and "prog_data" to
ones which need binding table information, we can convert everything
to static functions.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp