From fcd869ed56db83cfdafe8af030518cd8cf7f5708 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 12 Feb 2014 17:10:09 +0100 Subject: glsl/parser: Handle the early_fragment_tests input layout qualifier. v2: Only allow the early_fragment_tests qualifier in fragment shaders. Reviewed-by: Paul Berry --- src/glsl/glsl_parser_extras.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glsl/glsl_parser_extras.h') diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h index 2083d555f67..ba32c086e3a 100644 --- a/src/glsl/glsl_parser_extras.h +++ b/src/glsl/glsl_parser_extras.h @@ -395,6 +395,8 @@ struct _mesa_glsl_parse_state { */ unsigned gs_input_size; + bool early_fragment_tests; + /** Atomic counter offsets by binding */ unsigned atomic_counter_offsets[MAX_COMBINED_ATOMIC_BUFFERS]; }; -- cgit v1.2.3