mesa/st: fix infinite loops
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 21 Sep 2017 02:11:48 +0000 (12:11 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 21 Sep 2017 03:28:09 +0000 (13:28 +1000)
commitdb4222fc542821d8a187426cdf3abe997ee0120d
tree0c6c22325f6d6753e6487475031b53ec328b430f
parenta40b3d5a3c6bbaec03bd6978c2e174d22998b0ed
mesa/st: fix infinite loops

Fixes: 9ac8fece63a9 (glsl: Unify ir_constant::const_elements and ::components)
Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp