glsl2: Fix ir_validate validating null variable names.
authorEric Anholt <eric@anholt.net>
Tue, 3 Aug 2010 18:43:25 +0000 (11:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 3 Aug 2010 18:47:02 +0000 (11:47 -0700)
commitc22dee721695402d9f2678c100d2fff5c0c3f21f
tree585370714e40e6ee9a3634b2a207030f3035e5c3
parent900ab2f564018856133c19b68713a6dfd206c184
glsl2: Fix ir_validate validating null variable names.

An unnamed variable in a prototype will have a NULL ->name, so don't
worry about storage then.

Fixes:
CorrectFunction1.vert
CorrectParse1.frag
src/glsl/ir_validate.cpp