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:
@@ -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,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user