gsk: Fix blit sizes while generating mipmaps on vk

A few lines later we already had the correct equation for the size.
See vulkan 1.3 spec section 12.3.2 "Image Mip Level Sizing"
This commit is contained in:
M Henning
2024-02-10 10:56:10 -05:00
parent 1319f41d46
commit d08412aaa4

View File

@@ -129,8 +129,8 @@ gsk_gpu_mipmap_op_vk_command (GskGpuOp *op,
.z = 0,
},
{
.x = width / 2,
.y = height / 2,
.x = MAX (1, width / 2),
.y = MAX (1, height / 2),
.z = 1,
}
},