i965/vs: Pass the current set of clip planes through run() and run_vs()
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 20 Jun 2015 00:29:42 +0000 (17:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 23 Jun 2015 22:35:00 +0000 (15:35 -0700)
commit663f8d121d792edee5c012461bfd0b650011ff4a
treed5fe412ef0eb7aa6d0e31634ddd5a5bcb35207ec
parent4af62c0f5cbadc762abb1bd2e59f44ca220e3f0a
i965/vs: Pass the current set of clip planes through run() and run_vs()

Previously, these were pulled out of the GL context conditionally based on
whether we were running ff/ARB or a GLSL program.  Now, we just pass them
in so that the visitor doesn't have to grab them itself.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
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
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp