glsl: Check order and uniqueness of interlock functions

With this commit all remaining compilation tests in Piglit for
ARB_fragment_shader_interlock will pass.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
This commit is contained in:
Caio Marcelo de Oliveira Filho
2019-06-05 01:25:24 -07:00
parent b7c9fc72fd
commit 2cb5907508
4 changed files with 35 additions and 4 deletions
+2
View File
@@ -197,6 +197,8 @@ _mesa_glsl_parse_state::_mesa_glsl_parse_state(struct gl_context *_ctx,
this->current_function = NULL;
this->toplevel_ir = NULL;
this->found_return = false;
this->found_begin_interlock = false;
this->found_end_interlock = false;
this->all_invariant = false;
this->user_structures = NULL;
this->num_user_structures = 0;