From: Jason Ekstrand Date: Tue, 9 Jun 2015 23:01:56 +0000 (-0700) Subject: vk/device: Use anv_CreateDynamicViewportState instead of the vk one X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=919e7b75514cae0b36ce5559ea3fe92ecbee815d;p=mesa.git vk/device: Use anv_CreateDynamicViewportState instead of the vk one --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 423f165e400..9eba8709a89 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3422,7 +3422,7 @@ VkResult anv_CreateFramebuffer( framebuffer->height = pCreateInfo->height; framebuffer->layers = pCreateInfo->layers; - vkCreateDynamicViewportState((VkDevice) device, + anv_CreateDynamicViewportState((VkDevice) device, &(VkDynamicVpStateCreateInfo) { .sType = VK_STRUCTURE_TYPE_DYNAMIC_VP_STATE_CREATE_INFO, .viewportAndScissorCount = 1,