glsl: validate arrays of arrays on empty type delclarations
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 5 Feb 2016 02:08:19 +0000 (13:08 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 9 Feb 2016 02:52:52 +0000 (13:52 +1100)
commit3fd42807593eb68d83a36215fc5fc49b3adc7724
tree5a73afc187f7d4ed5ce683c49470f05b341ee203
parent74f956c416d5b0b37b4c2d6b957167bb203502c3
glsl: validate arrays of arrays on empty type delclarations

Fixes:
dEQP-GLES31.functional.shaders.arrays_of_arrays.invalid.empty_declaration_without_var_name_fragment
dEQP-GLES31.functional.shaders.arrays_of_arrays.invalid.empty_declaration_without_var_name_vertex

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_to_hir.cpp