diff options
author | Chad Versace <[email protected]> | 2015-10-05 16:58:25 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-05 17:46:04 -0700 |
commit | ae30535602d8b2f10a31feb133331c0c985b8b41 (patch) | |
tree | e1ef865364edfe0e2b6b6c180b1bba8b8e7d07a3 /src/vulkan/gen8_state.c | |
parent | f0f4dfa9cc1473c5e12eeeb9403f721d5611e905 (diff) |
vk: Drop anv_attachment_view::extent
It's duplicated by anv_attachment_view::image_view::extent.
Diffstat (limited to 'src/vulkan/gen8_state.c')
-rw-r--r-- | src/vulkan/gen8_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/gen8_state.c b/src/vulkan/gen8_state.c index 2b820a3177d..8e9b43cab05 100644 --- a/src/vulkan/gen8_state.c +++ b/src/vulkan/gen8_state.c @@ -307,7 +307,7 @@ gen8_color_attachment_view_init(struct anv_color_attachment_view *cview, iview->offset = image->offset + surface->offset; iview->format = anv_format_for_vk_format(pCreateInfo->format); - aview->extent = (VkExtent3D) { + iview->extent = (VkExtent3D) { .width = anv_minify(image->extent.width, pCreateInfo->mipLevel), .height = anv_minify(image->extent.height, pCreateInfo->mipLevel), .depth = anv_minify(image->extent.depth, pCreateInfo->mipLevel), @@ -346,7 +346,7 @@ gen8_color_attachment_view_init(struct anv_color_attachment_view *cview, * indicates the extent of the accessible 'R' coordinates minus 1 on * the LOD currently being rendered to. */ - rt_view_extent = aview->extent.depth; + rt_view_extent = iview->extent.depth; break; default: unreachable(!"bad VkImageType"); |