mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
turnip: Silence compiler warning about uninit pipeline.
The code was fine as far as I see, but the warning was irritating. Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
a6cc68106c
commit
ab3cf128a6
1 changed files with 1 additions and 1 deletions
|
|
@ -1882,7 +1882,7 @@ tu_CreateGraphicsPipelines(VkDevice device,
|
|||
tu_pipeline_builder_init_graphics(&builder, dev, cache,
|
||||
&pCreateInfos[i], pAllocator);
|
||||
|
||||
struct tu_pipeline *pipeline;
|
||||
struct tu_pipeline *pipeline = NULL;
|
||||
VkResult result = tu_pipeline_builder_build(&builder, &pipeline);
|
||||
tu_pipeline_builder_finish(&builder);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue