iris: Expose the disk cache to the state tracker as well

Graphics / Mesa 3D Graphics Library / Mesa - Kenneth Graunke [whitecape.org] - 21 May 2019 22:05 EDT

This lets st/nir cache the NIR for shaders, based on the shader source string hash, allowing us to skip initial compiles altogether, and also letting us start from there should we need to recompile for NOS.

fb1d08dcfd5 iris: Expose the disk cache to the state tracker as well.
src/gallium/drivers/iris/iris_screen.c | 8 ++++++++
1 file changed, 8 insertions(+)

Upstream: cgit.freedesktop.org


  • Share