summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-07-12 15:20:48 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-07-15 14:54:23 -0700
commite1809d90d84745344038e04b0807adbb2739a9e4 (patch)
tree082ec308b7c435b2df120af98ed1dd8ec8ee81ae
parent0f9824eb0a3407bd6c946133df569def08c3d074 (diff)
func.desc.dynamic: Set required VkRenderPassBeginInfo::sType field
This is required by the Vulkan Specification and silences the validation layers. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
-rw-r--r--src/tests/func/desc/dynamic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/func/desc/dynamic.c b/src/tests/func/desc/dynamic.c
index bb17fab..c57cd5c 100644
--- a/src/tests/func/desc/dynamic.c
+++ b/src/tests/func/desc/dynamic.c
@@ -232,6 +232,7 @@ test(void)
vkCmdBeginRenderPass(t_cmd_buffer,
&(VkRenderPassBeginInfo) {
+ .sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.renderPass = pass,
.framebuffer = t_framebuffer,
.renderArea = { { 0, 0 }, { t_width, t_height } },