summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/func/miptree/miptree.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/func/miptree/miptree.c b/src/tests/func/miptree/miptree.c
index 19345be..720621f 100644
--- a/src/tests/func/miptree/miptree.c
+++ b/src/tests/func/miptree/miptree.c
@@ -899,6 +899,18 @@ copy_color_images_with_draw(const test_data_t *data,
.maxDepth = 1
});
+ vkCmdSetScissor(cmd, 0, 1,
+ &(VkRect2D) {
+ .offset = {
+ .x = 0,
+ .y = 0,
+ },
+ .extent = {
+ .width = width,
+ .height = height,
+ },
+ });
+
VkFramebuffer fb = qoCreateFramebuffer(t_device,
.attachmentCount = 1,
.pAttachments = (VkImageView[]) {