i965/vec4: Move vec4 data structures and functions to brw_vec4.{cpp,h}.
authorPaul Berry <stereotype441@gmail.com>
Thu, 15 Aug 2013 00:20:04 +0000 (17:20 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 23 Aug 2013 18:02:44 +0000 (11:02 -0700)
commit72168f5f0069b2a0d8a2434ba80f4446952e84c7
treef54f860d2b7bebacfc3d8c7b8f7f8b068a0ffc6f
parente556286802811b4b99c692d1ff5197f8ee1f011b
i965/vec4: Move vec4 data structures and functions to brw_vec4.{cpp,h}.

This patch moves the following things into brw_vec4.{cpp,h}:

- struct brw_vec4_compile
- struct brw_vec4_prog_key
- brw_vec4_prog_data_compare()
- brw_vec4_prog_data_free()

This will allow us to avoid having to include brw_vs.h in
geometry-shader-specific files.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs.h