Zero-out the entire parser state structure at initialization
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Apr 2010 20:37:47 +0000 (13:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 23 Apr 2010 20:37:47 +0000 (13:37 -0700)
commit6aeada79662aa8a0c613158667dad66a6deb02a4
tree386b356644f918eb53544885b158dbcfe816e4d6
parenteb56cea3b3011f46453d4bb7d06de2e9f6b12232
Zero-out the entire parser state structure at initialization

Among other things, this ensures that all of the extension flags are
initially disabled.

This causes the following tests to pass:

    glslparsertest/glsl2/draw_buffers-02.frag
glsl_parser_extras.cpp