On 22/02/17 12:45 PM, Timothy Arceri wrote: > > +get_disk_shader_cache > +^^^^^^^^^^^^^^^^^^^^^ > + > +Returns a pointer to driver-specific on-disk shader cache. If the driver > +failed to create the cache or does not support an on-disk shader cache NULL > is > +returned.
[...] > + /** > + * Returns a pointer to driver-specific on-disk shader cache. If the > driver > + * failed to create the cache or does not support an on-disk shader cache > + * NULL is returned. > + */ > + struct disk_cache *(*get_disk_shader_cache)(struct pipe_screen *screen); > }; Drivers which don't support an on-disk shader cache don't set this callback in the first place, right? :) (Just a suggestion for improvement before landing this patch, not a blocker, no need to resend) -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev