glsl: fix error messages in invalid declarations of shader storage blocks
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Thu, 19 Mar 2015 09:22:00 +0000 (10:22 +0100)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commit2747d566f187cdab5d6bdc508e460a76e5cbd6c4
treea33623a01507d36f45aa12ed2948e4c62bb942c5
parent9f651dbf7924938a8aa2c9c940ae3ed1366d6198
glsl: fix error messages in invalid declarations of shader storage blocks

Due to GL_ARB_shader_storage_buffer_object extension, shader storage blocks
have the same limitations as uniform blocks.

This patch fixes the corresponding error messages.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/ast_to_hir.cpp