This was clearly wrong; types are now only initialized once.
* FINISHME: by the driver. At the moment, we don't know what that is.
*/
state.language_version = 130;
+ _mesa_glsl_initialize_types(&state);
_mesa_glsl_read_ir(&state, &instructions, shader);
}
return;
}
- _mesa_glsl_initialize_types(state);
-
- /* FINISHME: Constructors probably shouldn't be emitted as part of the IR.
- * FINISHME: Once they're not, remake them by calling:
- * FINISHME: _mesa_glsl_initialize_constructors(instructions, state);
- */
-
scan_for_prototypes(state, instructions, expr);
if (state->error)
return;