glsl: don't crash if a field is specified for a non-struct uniform
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 18 Aug 2010 10:52:56 +0000 (12:52 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Aug 2010 20:01:07 +0000 (13:01 -0700)
commitfc76d7276393a4617f9898214bc397bb65634b02
tree7f7b6a4be73743c2df7984897aed7332b1b75a16
parentc108a7927d1dad9e0f641a0ec5a7387fb2626156
glsl: don't crash if a field is specified for a non-struct uniform

This was triggered by the previous bug, but is a separate problem
in the general sense.
src/mesa/program/ir_to_mesa.cpp