mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-17 19:20:13 +00:00
c/main: Tidy peek code
This commit is contained in:
parent
11a4f776e5
commit
dedfd022b8
|
@ -273,15 +273,18 @@ comp_window_peek_blit(struct comp_window_peek *w, VkImage src, int32_t width, in
|
||||||
VK_PIPELINE_STAGE_TRANSFER_BIT, // dstStageMask
|
VK_PIPELINE_STAGE_TRANSFER_BIT, // dstStageMask
|
||||||
range); // subresourceRange
|
range); // subresourceRange
|
||||||
|
|
||||||
VkImageBlit blit = {.srcSubresource =
|
VkImageBlit blit = {
|
||||||
{
|
.srcSubresource =
|
||||||
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
{
|
||||||
.layerCount = 1,
|
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
||||||
},
|
.layerCount = 1,
|
||||||
.dstSubresource = {
|
},
|
||||||
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
.dstSubresource =
|
||||||
.layerCount = 1,
|
{
|
||||||
}};
|
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
||||||
|
.layerCount = 1,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
blit.srcOffsets[1].x = width;
|
blit.srcOffsets[1].x = width;
|
||||||
blit.srcOffsets[1].y = height;
|
blit.srcOffsets[1].y = height;
|
||||||
|
|
Loading…
Reference in a new issue