Only initialize types after #extension directives have been processed.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Jun 2010 05:33:43 +0000 (22:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Jun 2010 18:14:58 +0000 (11:14 -0700)
commit57503a22d767c146862b5e2ac0e07f8a8f5193df
treeaf5220a3bd53a901f661d2bb21fd3faba9915882
parent4b0029a97d564679becb4bbf243dadb8b8b87c0a
Only initialize types after #extension directives have been processed.

Since _mesa_glsl_initialize_types add types for various extensions, we
can't call it until after processing "#extension foo : disable" lines.

Fixes tex_rect_02.frag.
glsl_parser.ypp
glsl_parser_extras.cpp