diff options
author | Jason Ekstrand <[email protected]> | 2015-06-09 15:53:10 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-09 15:53:26 -0700 |
commit | 0599d39dd908959746e4a89e4e1aeafa160844bd (patch) | |
tree | 51780440e5a37fa5d42edec97cbb56ddddd46391 /src | |
parent | d57c4cf999381e4f6fbd8b5c85ead6bb5938290d (diff) |
vk/device: Dedent the vkCreateDynamicViewportState call
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/device.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 9924baa84cb..423f165e400 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3423,25 +3423,25 @@ VkResult anv_CreateFramebuffer( framebuffer->layers = pCreateInfo->layers; vkCreateDynamicViewportState((VkDevice) device, - &(VkDynamicVpStateCreateInfo) { - .sType = VK_STRUCTURE_TYPE_DYNAMIC_VP_STATE_CREATE_INFO, - .viewportAndScissorCount = 1, - .pViewports = (VkViewport[]) { - { - .originX = 0, - .originY = 0, - .width = pCreateInfo->width, - .height = pCreateInfo->height, - .minDepth = 0, - .maxDepth = 1 - }, - }, - .pScissors = (VkRect[]) { - { { 0, 0 }, - { pCreateInfo->width, pCreateInfo->height } }, - } - }, - &framebuffer->vp_state); + &(VkDynamicVpStateCreateInfo) { + .sType = VK_STRUCTURE_TYPE_DYNAMIC_VP_STATE_CREATE_INFO, + .viewportAndScissorCount = 1, + .pViewports = (VkViewport[]) { + { + .originX = 0, + .originY = 0, + .width = pCreateInfo->width, + .height = pCreateInfo->height, + .minDepth = 0, + .maxDepth = 1 + }, + }, + .pScissors = (VkRect[]) { + { { 0, 0 }, + { pCreateInfo->width, pCreateInfo->height } }, + } + }, + &framebuffer->vp_state); *pFramebuffer = (VkFramebuffer) framebuffer; |