iris: Add support for MESA_SHADER_KERNEL in the disk cache
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 11 Aug 2020 21:13:47 +0000 (16:13 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Aug 2020 10:11:06 +0000 (10:11 +0000)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6280>

src/gallium/drivers/iris/iris_disk_cache.c

index 0383512b2953d76a9b8ee0a9b71bca0092f6b06c..47da9e670e6f91ea16ec5ae7465740ef78c596ca 100644 (file)
@@ -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,
 };
 
 /**