summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-10-27 11:17:47 +1000
committerDave Airlie <airlied@redhat.com>2017-10-27 11:48:12 +1000
commitcc9ed8a8006e82cfa8e91ddad3081bb9e8772fdb (patch)
tree6fcc118d2f4c02aac5a926174fa2df137e30dfc4
parentd086a9479597e7b38f0326e939878811cbd4f348 (diff)
miptree: fix missing struct type and render pass ptr.
-rw-r--r--src/tests/func/miptree/miptree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/func/miptree/miptree.c b/src/tests/func/miptree/miptree.c
index 25568dc..a42892d 100644
--- a/src/tests/func/miptree/miptree.c
+++ b/src/tests/func/miptree/miptree.c
@@ -916,6 +916,7 @@ copy_color_images_with_draw(const test_data_t *data,
.pAttachments = (VkImageView[]) {
attachment_views[i],
},
+ .renderPass = data->draw.render_pass,
.width = width,
.height = height,
.layers = 1);
@@ -941,6 +942,7 @@ copy_color_images_with_draw(const test_data_t *data,
vkCmdBeginRenderPass(cmd,
&(VkRenderPassBeginInfo) {
+ .sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.renderPass = data->draw.render_pass,
.framebuffer = fb,
.renderArea = { {0, 0}, {width, height} },