glsl: silence uninitialized var warning in read_texture()
authorBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 20:09:57 +0000 (13:09 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 20:11:47 +0000 (13:11 -0700)
commit9f2bf3d65cf0745a34185c1966d52389fbd1ca90
tree4563effa4df6dd91075728ccfc6349f36046e1b2
parent90c2fd86407999475ff6accecf36e5a2c75feb9b
glsl: silence uninitialized var warning in read_texture()

And generate an error if the texture pattern is not matched.
src/glsl/ir_reader.cpp