diff options
author | Jason Ekstrand <[email protected]> | 2016-05-13 16:52:15 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-17 12:17:22 -0700 |
commit | fbc23d93e08165e74ad40915bd3ead68b454d4d3 (patch) | |
tree | 359f0b1495b20f87d902876007b475a3640a64d9 /src/intel/vulkan/anv_meta_resolve.c | |
parent | be94a23b4402e1562eebc6aa6c485be2a2506a79 (diff) |
anv: Remove the anv_format member from anv_image
Diffstat (limited to 'src/intel/vulkan/anv_meta_resolve.c')
-rw-r--r-- | src/intel/vulkan/anv_meta_resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_meta_resolve.c b/src/intel/vulkan/anv_meta_resolve.c index 7d2a75bb752..dd2f768577d 100644 --- a/src/intel/vulkan/anv_meta_resolve.c +++ b/src/intel/vulkan/anv_meta_resolve.c @@ -717,7 +717,7 @@ void anv_CmdResolveImage( .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, .image = src_image_h, .viewType = anv_meta_get_view_type(src_image), - .format = src_image->format->vk_format, + .format = src_image->vk_format, .subresourceRange = { .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, .baseMipLevel = region->srcSubresource.mipLevel, @@ -734,7 +734,7 @@ void anv_CmdResolveImage( .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, .image = dest_image_h, .viewType = anv_meta_get_view_type(dest_image), - .format = dest_image->format->vk_format, + .format = dest_image->vk_format, .subresourceRange = { .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, .baseMipLevel = region->dstSubresource.mipLevel, |