Mesa (master): iris: Add support for MESA_SHADER_KERNEL in the disk cache

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 12 10:29:16 UTC 2020


Module: Mesa
Branch: master
Commit: 3d7d76c15258a7e856ab60d7bf98565a93ed6aee
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d7d76c15258a7e856ab60d7bf98565a93ed6aee

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Aug 11 16:13:47 2020 -0500

iris: Add support for MESA_SHADER_KERNEL in the disk cache

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>

---

 src/gallium/drivers/iris/iris_disk_cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/iris/iris_disk_cache.c b/src/gallium/drivers/iris/iris_disk_cache.c
index 0383512b295..47da9e670e6 100644
--- a/src/gallium/drivers/iris/iris_disk_cache.c
+++ b/src/gallium/drivers/iris/iris_disk_cache.c
@@ -132,6 +132,7 @@ static const enum iris_program_cache_id cache_id_for_stage[] = {
    [MESA_SHADER_GEOMETRY]  = IRIS_CACHE_GS,
    [MESA_SHADER_FRAGMENT]  = IRIS_CACHE_FS,
    [MESA_SHADER_COMPUTE]   = IRIS_CACHE_CS,
+   [MESA_SHADER_KERNEL]    = IRIS_CACHE_CS,
 };
 
 /**



More information about the mesa-commit mailing list