glsl: include variable name in error messages about initializers
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 7 Oct 2015 07:28:43 +0000 (09:28 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Oct 2015 06:31:08 +0000 (08:31 +0200)
commit7a1143f29e477601f2b34b23d154edd5699352b1
treeba98595dbb016bb742edd98b367c58ca6687e319
parentf09c229cc6db838ae595fb57f5e6386a035bdf42
glsl: include variable name in error messages about initializers

Also fix style / wrong indentation along the way and make the messages
more uniform.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_to_hir.cpp