gallium: add get_disk_shader_cache() callback
[mesa.git] / src / gallium / docs / source / screen.rst
index 74c8ceca20fddb18d5ef39807d435ce4169d0345..858eb9f9100d31f6d0c30cac91a1d7dcebcb69a7 100644 (file)
@@ -763,6 +763,16 @@ The driver-specific query group is described with the
 pipe_driver_query_group_info structure.
 
 
+
+get_disk_shader_cache
+^^^^^^^^^^^^^^^^^^^^^
+
+Returns a pointer to a 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. The callback itself may also be NULL if the driver doesn't support
+an on-disk shader cache.
+
+
 Thread safety
 -------------