glsl: remove useless null checks and make match_explicit_outputs_to_inputs() static
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Wed, 2 Dec 2015 09:48:46 +0000 (11:48 +0200)
committerJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 3 Dec 2015 08:56:35 +0000 (10:56 +0200)
commitd6d90750f129f4c43c55acfefa9b82d32b0b3e21
treef37c6a279a0a7fa8cf0fa5f03f0fade653382ada
parent231db5869c2c0f32608f39100bffff569da21bea
glsl: remove useless null checks and make match_explicit_outputs_to_inputs() static

match_explicit_outputs_to_inputs() cannot get null inputs and if it ever did
triggering first null check would later in the function cause segfault.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
CC: timothy.arceri@collabora.com
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/linker.cpp