nir: do not remove varyings used for transform feedback
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 11 May 2018 08:29:17 +0000 (10:29 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 16:42:56 +0000 (10:42 -0600)
commit9f4e0aa7c1f9d71e6716295a1ee5b78e70ed6f37
tree00fd8f8da66afa171a4223221772d85d3cc063fb
parent9c14440e8194acaa92cf0edb751700b94570ec3b
nir: do not remove varyings used for transform feedback

When a xfb buffer is explicitely declared on a varying
variable, we shouldn't remove it at link time.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_linking_helpers.c