OSDN Git Service

glsl: add packed varyings for outputs with single stage program
authorTapani Pälli <tapani.palli@intel.com>
Tue, 12 Jan 2016 09:03:14 +0000 (11:03 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 13 Jan 2016 05:30:46 +0000 (07:30 +0200)
commit6b0706b2aab5ec56f13357e9957fbf99a63839f8
treebbaf27775be148794023fdb22170793b303f0056
parent38cdcb000d6890f3bab479ab8061d9811ded9d39
glsl: add packed varyings for outputs with single stage program

Commit 8926dc8 added a check where we add packed varyings of output
stage only when we have multiple stages,  however duplicates are already
handled by changes in commit 0508d950 and we want to add outputs also in
case where we have only one stage.

Fixes regression caused by 8926dc8 for following test:
   ES31-CTS.program_interface_query.separate-programs-vertex

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/linker.cpp