[Mesa-dev] [PATCH v3 14/48] meson: Make shader-cache a trillean instead of boolean

Dylan Baker dylan at pnwbakers.com
Wed Aug 8 18:53:41 UTC 2018


Quoting Eric Anholt (2018-08-07 10:58:52)
> Dylan Baker <dylan at pnwbakers.com> writes:
> 
> > So that it can be implicitly disabled on windows, where it doesn't
> > compile.
> 
> I don't see how this option successfully controls the shader cache being
> built.

The entire shader cache code in src/util/disk_cache.[ch] is guarded in "#ifdef
ENABLE_SHADER_CACHE", so if we don't define that then the shader_cache is
disabled.

> Also the "elif with_dri_i965 and get_option('shader-cache')"
> looks like it needs to get updated for the trillian, too.

Fixed locally
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180808/4f00ed06/attachment.sig>


More information about the mesa-dev mailing list