mesa: Remove _mesa_max_buffer_index
[mesa.git] / src / glsl / glsl_parser_extras.h
index c8b94781c70e426b7672941c911cebec54083c47..c14d74c984625a616e76a4022904076469cacca8 100644 (file)
@@ -40,9 +40,11 @@ struct glsl_switch_state {
    /** Temporary variables needed for switch statement. */
    ir_variable *test_var;
    ir_variable *is_fallthru_var;
-   ir_variable *is_break_var;
    class ast_switch_statement *switch_nesting_ast;
 
+   /** Used to detect if 'continue' was called inside a switch. */
+   ir_variable *continue_inside;
+
    /** Used to set condition if 'default' label should be chosen. */
    ir_variable *run_default;