iris: Cache assembly shaders in the on-disk shader cache

Graphics / Mesa 3D Graphics Library / Mesa - Dylan Baker [pnwbakers.com] - 21 May 2019 22:05 EDT

This implements storing and retrieving iris_compiled_shader objects from the on-disk shader cache.

(by Dylan Baker and Kenneth Graunke)

601c9bc1358 iris: Cache assembly shaders in the on-disk shader cache
src/gallium/drivers/iris/iris_context.h | 13 +++
src/gallium/drivers/iris/iris_disk_cache.c | 180 +++++++++++++++++++++++++++++
src/gallium/drivers/iris/iris_program.c | 49 +++++++-
3 files changed, 236 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share