glsl: cleanup and fix validate matrix function for arrays
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 13 Nov 2015 00:21:42 +0000 (11:21 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 17 Nov 2015 20:29:58 +0000 (07:29 +1100)
commita01b8c7e774aec651302fc8177b937c915daf1e7
treea69406f3793c590ef14c7105c63c0f4a50ba8255
parentf8b5cc827e2fcbd64424495eac31e5d3d3f0567c
glsl: cleanup and fix validate matrix function for arrays

Previously if the member was an array of matrices then a
warning message would be incorrectly given.

Also the struct case could never be met so it has been removed.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glsl/ast_to_hir.cpp