glsl/linker: fix multiple streams transform feedback.
authorDave Airlie <airlied@redhat.com>
Tue, 31 May 2016 02:51:47 +0000 (12:51 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 03:30:41 +0000 (13:30 +1000)
commit1fe7bbb911ac708999685c942e971693b688a334
treed209c605433a999c13e4a0defa741cf448d5750d
parente891f7cf55f2f3e3d37ece12e5c64f4be70e3845
glsl/linker: fix multiple streams transform feedback.

e2791b38b42f83add5b07298c39741bf0a6d7d4b
mesa/program_interface_query: fix transform feedback varyings.

caused a regression in
GL45-CTS.gtf40.GL3Tests.transform_feedback3.transform_feedback3_multiple_streams
on radeonsi.

The problem was it was using the skip components varying to set
the stream id, when it should wait until a varying was written,
this just adds the varying checks in the right place.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_varyings.cpp