aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-09-19 15:28:43 -0700
committerJason Ekstrand <[email protected]>2016-10-14 15:39:41 -0700
commit29e289fa655938f7814bdbb3de7996a8a0f04b60 (patch)
tree63f1334dd21d2db0222f7272801e472da48b7293 /src/intel/vulkan/anv_private.h
parent0340548c8e89d724fe6752fe7a665787c4adf361 (diff)
anv/image: Add an isl_view to anv_image_view
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index e82171433aa..3f82196d663 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1724,10 +1724,10 @@ struct anv_image_view {
struct anv_bo *bo;
uint32_t offset; /**< Offset into bo. */
+ struct isl_view isl;
+
VkImageAspectFlags aspect_mask;
VkFormat vk_format;
- uint32_t base_layer;
- uint32_t base_mip;
VkExtent3D extent; /**< Extent of VkImageViewCreateInfo::baseMipLevel. */
/** RENDER_SURFACE_STATE when using image as a color render target. */