glsl: use 'declared_var' instead of 'var' after checking redeclarations
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 13 Sep 2017 06:59:18 +0000 (08:59 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 14 Sep 2017 09:23:26 +0000 (11:23 +0200)
commit4af156224ea8d5c21464f02aecc25f64de681170
tree45e7bb447e35369f9fd66483c6954a45b7eb4a14
parent412ab3f6fdd91019bc9ceecba80e10eb1d522f94
glsl: use 'declared_var' instead of 'var' after checking redeclarations

Since the original 'var' might have been deleted from this point forward.

Bugzila: https://bugs.freedesktop.org/show_bug.cgi?id=102685
Fixes: 51bf007d2c27fba (glsl: Disallow unsized array of atomic_uint)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/ast_to_hir.cpp