From ea2515d780a40599036ff50b572d309e69635d20 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 23 Aug 2017 16:33:00 +1000 Subject: glsl: pass shader source keys to the disk cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't actually write them to disk here. That will happen in the following commit. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index af432e0b3c7..35bc0db74e8 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -213,7 +213,7 @@ static bool si_shader_cache_insert_shader(struct si_screen *sscreen, disk_cache_compute_key(sscreen->b.disk_shader_cache, tgsi_binary, *((uint32_t *)tgsi_binary), key); disk_cache_put(sscreen->b.disk_shader_cache, key, hw_binary, - *((uint32_t *) hw_binary)); + *((uint32_t *) hw_binary), NULL); } return true; -- cgit v1.2.3