OSDN Git Service

glsl: TCS outputs can not be transform feedback candidates on GLES
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 21 Nov 2018 17:23:03 +0000 (18:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Mar 2019 19:02:18 +0000 (19:02 +0000)
commit0d0d6f43693014b4507ca07864d0bc6f027b43bb
treeb9b653717caa2d49c09b987b865c33c2cfaab6e2
parent7c3c0823bafffdc725a2651d8b55ac32acf355da
glsl: TCS outputs can not be transform feedback candidates on GLES

Avoids regression on:

KHR-GLES*.core.tessellation_shader.single.xfb_captures_data_from_correct_stage

that is uncovered by the following patch.

"glsl: fix recording of variables for XFB in TCS shaders"

v2: Rebased over glsl: fix recording of variables for XFB in TCS shaders
v3: Move this patch before "glsl: fix recording of variables for XFB in TCS
    shaders" to avoid temporal regressions. (Illia Mirkin)

Cc: 19.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit bf1f49482d677e562993543cd9a9367597ce3ccc)
src/compiler/glsl/link_varyings.cpp