From: Nicolai Hähnle Date: Thu, 30 Mar 2017 09:17:47 +0000 (+0200) Subject: glsl: add ARB_shader_ballot enable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8440ec9fa1ddaf33b590fcf9120122e3acbf497;p=mesa.git glsl: add ARB_shader_ballot enable Reviewed-by: Marek Olšák --- diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index 8b5df3bdd89..4629e78efa8 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -627,6 +627,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = { EXT(ARB_separate_shader_objects), EXT(ARB_shader_atomic_counter_ops), EXT(ARB_shader_atomic_counters), + EXT(ARB_shader_ballot), EXT(ARB_shader_bit_encoding), EXT(ARB_shader_clock), EXT(ARB_shader_draw_parameters), diff --git a/src/compiler/glsl/glsl_parser_extras.h b/src/compiler/glsl/glsl_parser_extras.h index af08bb27170..6c3bc8a9173 100644 --- a/src/compiler/glsl/glsl_parser_extras.h +++ b/src/compiler/glsl/glsl_parser_extras.h @@ -632,6 +632,8 @@ struct _mesa_glsl_parse_state { bool ARB_shader_atomic_counter_ops_warn; bool ARB_shader_atomic_counters_enable; bool ARB_shader_atomic_counters_warn; + bool ARB_shader_ballot_enable; + bool ARB_shader_ballot_warn; bool ARB_shader_bit_encoding_enable; bool ARB_shader_bit_encoding_warn; bool ARB_shader_clock_enable;