[Mesa-dev] [PATCH 12/27] i965: add support for cached shaders with xfb qualifiers

Matt Turner mattst88 at gmail.com
Thu Sep 14 00:04:23 UTC 2017


On 08/19, Jordan Justen wrote:
>From: Timothy Arceri <timothy.arceri at collabora.com>
>
>For now this disables the shader cache when transform feedback is
>enabled via the GL API as we don't currently allow for it when
>generating the sha for the shader.
>---

If I understand correctly, at this point we'll never cache a shader that
has transform feedback enabled by the API, and with that knowledge this
patch adds code to skip looking on disk for one.

I think I'd just let it search in vain and avoid the complexity. I can
imagine implementing support for caching those shaders and then getting
pretty frustrated trying to figure out why they weren't being found
later.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170913/21c486b1/attachment.sig>


More information about the mesa-dev mailing list