glsl: interface blocks must be declared at global scope
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 19 Jan 2015 11:32:10 +0000 (12:32 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 3 Feb 2015 12:19:36 +0000 (13:19 +0100)
commit5d655a43e606e7eb7ef09af60d2b8896f271e0de
tree8520ec907e2f2492289acfe5e1dd5ffc73a11cc0
parent6dd346c2328df86f843c3a355a7919fb0404f6df
glsl: interface blocks must be declared at global scope

Fixes the following 2 dEQP tests:
dEQP-GLES3.functional.shaders.declarations.invalid_declarations.uniform_block_in_main_vertex
dEQP-GLES3.functional.shaders.declarations.invalid_declarations.uniform_block_in_main_fragment

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp