glsl: remove unecessary flags.q.subroutine_def
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 28 Feb 2017 23:31:20 +0000 (00:31 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 1 Mar 2017 13:15:31 +0000 (14:15 +0100)
commitbe8aa76afd2cc5326c9d9d59c591e06365c5f618
tree2bbe816e736d16e0ced829c047be0e4d20657537
parentca7d2025a7547275101efbca0b45adb67f8fa59d
glsl: remove unecessary flags.q.subroutine_def

This bit is definitely not necessary because subroutine_list
can be used instead. This frees one more bit in the flags.q
struct which is nice because arb_bindless_texture will need
4 bits for the new layout qualifiers.

No piglit regressions found (including compiler tests) with
"-t subroutine".

v2: set the subroutine flag for validating illegal flags

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/ast.h
src/compiler/glsl/ast_to_hir.cpp
src/compiler/glsl/ast_type.cpp
src/compiler/glsl/glsl_parser.yy
src/compiler/glsl/glsl_parser_extras.cpp