glsl: add ARB_shader_ballot enable
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 30 Mar 2017 09:17:47 +0000 (11:17 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 5 Apr 2017 13:25:48 +0000 (15:25 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h

index 8b5df3bdd89f0263ba787ce02a2a1e3f94190d2f..4629e78efa8118596729ea1c30c55d2d2ca4da6e 100644 (file)
@@ -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),
index af08bb271708778c66574bc3122a120e800f4426..6c3bc8a91735efef7a6d40e3af90e49376612bd2 100644 (file)
@@ -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;