tu: Zero-initialize compute driver key

Fixes: 05329d7 ("tu: Implement pipeline caching with shared Vulkan cache")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16562>
This commit is contained in:
Connor Abbott 2022-05-17 16:06:38 +02:00 committed by Marge Bot
parent 33412e0231
commit e348f2fb38
1 changed files with 1 additions and 1 deletions

View File

@ -3828,7 +3828,7 @@ tu_compute_pipeline_create(VkDevice device,
pipeline->executables_mem_ctx = ralloc_context(NULL);
util_dynarray_init(&pipeline->executables, pipeline->executables_mem_ctx);
struct tu_shader_key key;
struct tu_shader_key key = { };
tu_shader_key_init(&key, stage_info, dev);
void *pipeline_mem_ctx = ralloc_context(NULL);