mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
vk: Fix warning from missing initializer
Struct initializers need to be { 0, } to zero out the variable they're
initializing.
This commit is contained in:
parent
bf096c9ec3
commit
af45f4a558
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ meta_emit_blit(struct anv_cmd_buffer *cmd_buffer,
|
|||
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO,
|
||||
.renderArea = { { 0, 0 }, { dest->extent.width, dest->extent.height } },
|
||||
.colorAttachmentCount = 1,
|
||||
.extent = { },
|
||||
.extent = { 0, },
|
||||
.sampleCount = 1,
|
||||
.layers = 1,
|
||||
.pColorFormats = (VkFormat[]) { dest->format },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue