glsl: use better location in struct and block error messages
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 12 Nov 2015 23:49:48 +0000 (10:49 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 17 Nov 2015 20:29:53 +0000 (07:29 +1100)
commitf8b5cc827e2fcbd64424495eac31e5d3d3f0567c
treed40be4bf2e2840af2a268bfd4b457763739c13fb
parentc54865db784ec26406aa98ebe67d86568ab9fc96
glsl: use better location in struct and block error messages

Previously we only gave the location for some members and never
gave the variable location. In those cases we were just giving
the location of the struct/block.

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