aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-08-14 10:02:19 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-08-17 11:41:19 -0700
commit6d09d0644b4c3a9e4512c193686cfa556cdaf00f (patch)
tree7fc2dff0365c680bf7d2bd3df7ce1ce31b09930c /src/vulkan/anv_private.h
parent0deae66eb138ada869105a359ce0c87e412ed713 (diff)
vk: Use anv_image_create() for creating dmabuf VkImage
We need to make sure we use the VkImage infrastructure for creating dmabuf images. Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index d53f63d5d27..d517814847c 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -996,6 +996,7 @@ struct anv_image_create_info {
const VkImageCreateInfo *vk_info;
bool force_tile_mode;
uint8_t tile_mode;
+ uint32_t stride;
};
VkResult anv_image_create(VkDevice _device,