summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2020-08-11 16:13:47 -0500
committerMarge Bot <eric+marge@anholt.net>2020-08-12 10:11:06 +0000
commit3d7d76c15258a7e856ab60d7bf98565a93ed6aee (patch)
treeaae5c9232bbd7a56578efed66dacaaed52650931
parent65eeb06a7f7afd1fbf48490f06051dfad9de3214 (diff)
iris: Add support for MESA_SHADER_KERNEL in the disk cache
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>
-rw-r--r--src/gallium/drivers/iris/iris_disk_cache.c1
1 files changed, 1 insertions, 0 deletions
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,
};
/**