glsl: Extract marking functions from ir_set_program_inouts.
authorPaul Berry <stereotype441@gmail.com>
Wed, 31 Jul 2013 17:15:49 +0000 (10:15 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:19:31 +0000 (20:19 -0700)
commitd5a333a06f4dd8e084666e82019dde7cb40f9643
treeb7a74a193c44f4eccd43a4aa1f70017dbb0e505d
parent0b0dc03a31e13aa1cb4e0a6479dbd09cef612d44
glsl: Extract marking functions from ir_set_program_inouts.

This patch extracts the functions mark_whole_variable() and
try_mark_partial_variable() from the ir_set_program_inouts visitor
functions.  This will make the code easier to follow when we add
geometry shader support.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_set_program_inouts.cpp