glsl: Split out part of variable_index_to_cond_assign_visitor::needs_lowering
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Jul 2011 17:07:24 +0000 (10:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 23 Jul 2011 08:24:18 +0000 (01:24 -0700)
commitd2296e784aa8fad81c4910dcbbf61e826ce9a06a
treed471e7a32c93d783073f39181897dfba06555fa8
parent8d5f3cef795428d7a95120416122a39c10cff11c
glsl: Split out part of variable_index_to_cond_assign_visitor::needs_lowering

Other code will soon need to know if an array needs lowering based
exclusively on the storage mode.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/lower_variable_index_to_cond_assign.cpp