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

Author: Jason Ekstrand <[email protected]>
Date:   Tue Aug 11 16:13:47 2020 -0500

iris: Add support for MESA_SHADER_KERNEL in the disk cache

Reviewed-by: Kenneth Graunke <[email protected]>
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,
 };
 
 /**

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to