glsl: Initialize ir_variable_data::fb_fetch_output earlier for GL(ES) 2.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 12 Feb 2018 23:24:39 +0000 (15:24 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 24 Feb 2018 23:28:36 +0000 (15:28 -0800)
commit1bc01db95fb5162f01a2c4a9b2473dd7a5eddcd8
tree05d8ad616d6cb1adacb072a89a02cb6c320382fa
parent6ebefb0fd5065bde02611172928a7cdeb9d32726
glsl: Initialize ir_variable_data::fb_fetch_output earlier for GL(ES) 2.

At the same point where it is initialized on GL(ES) 3.0+ so we can
implement some common layout qualifier handling in a future commit.
Until now the fb_fetch_output flag would be inherited from the
original implicit gl_LastFragData declaration at a later point in the
AST to GLSL IR translation.

Reviewed-by: Plamena Manolova <plamena.manolova@intel.com>
src/compiler/glsl/ast_to_hir.cpp