mesa/glsl: add api_enabled flag to gl_transform_feedback_info
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 19 Nov 2016 05:16:08 +0000 (16:16 +1100)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 1 Nov 2017 06:36:54 +0000 (23:36 -0700)
commit15f39e8654b3dd94821624af73f7045906e6d354
treefaf413c5ccaa1e74d63844dfc641d80de9bbb54a
parent8a019f5601ced415d13f55e3c06ab4cb3b7d5989
mesa/glsl: add api_enabled flag to gl_transform_feedback_info

This will be used to disable the shader cache when xfb is enabled
via the api as we don't currently allow for it when generating the
sha for the shader.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/link_varyings.cpp
src/mesa/main/mtypes.h