glsl/linker: use without_array() to retrieve type
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 3 Nov 2017 09:46:30 +0000 (10:46 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 13 Nov 2017 08:22:26 +0000 (09:22 +0100)
commit456e10944fca0c5af7abcccd0cd901dc7e833b21
treee63701982cbe69b1c221361c8e9d7f3b25af8a83
parentbec716e8441e3fcef71ce8f9d17d98ddf5a652e0
glsl/linker: use without_array() to retrieve type

This is what we do in the condition too, so it makes sense.

v2: Only compute without_array() once (Ilia).

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/link_varyings.cpp