mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
33412e0231
commit
e348f2fb38
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue