i965/fs: Combine the fs_visitor constructors.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Mar 2015 05:41:49 +0000 (22:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 May 2015 04:19:48 +0000 (21:19 -0700)
commit3687d752e51829b4723c9abb07ae56d2bbcda570
treeb5c818c8733a50593fd0b1ae0cc585c4251d992f
parent0c4eef6a2cad72571efb15a5fdca2726f0540d07
i965/fs: Combine the fs_visitor constructors.

For scalar GS support, we either need to add a fourth constructor which
takes the GS structures, or combine the existing two and pass the shader
stage.

Given that they're not significantly different, I opted for the latter.

v2: Remove more stuff from the .h file (Jason and Jordan).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_cs.cpp
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp