glsl: Add assert for unhandled ir_shader case.
authorVinson Lee <vlee@vmware.com>
Wed, 20 Oct 2010 21:10:26 +0000 (14:10 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 20 Oct 2010 21:10:26 +0000 (14:10 -0700)
commit460da0db4add19b79050b816e3bef086293ab630
tree8ab33fa6c4fa5fbf01e5e229eb13ae6f5dcc4800
parentc492066071c17e55740f3eed69b3344e6f1793ff
glsl: Add assert for unhandled ir_shader case.

Silences this GCC warning.
ast_to_hir.cpp: In function 'void apply_type_qualifier_to_variable(const
ast_type_qualifier*, ir_variable*, _mesa_glsl_parse_state*, YYLTYPE*)'
ast_to_hir.cpp:1768: warning: enumeration value 'ir_shader' not handled
in switch
src/glsl/ast_to_hir.cpp