summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2018-08-21 11:12:37 +0300
committerTapani Pälli <[email protected]>2018-12-19 09:38:41 +0200
commit2a98e5bbb9ea24241b89bc5a51be10f4385b1c8d (patch)
treef8d974c0c08adc39f861857cf0fa0bf848ed9d4d /src/intel/vulkan/anv_image.c
parent96c4b135e34d0804e41bfbc28fc1b5050c49d71e (diff)
anv: add create_flags as part of anv_image
This will make it possible for next patch to rip anv_image_create_info out from make_surface function. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 1748e9230d7..6aaeca9c83f 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -590,6 +590,7 @@ anv_image_create(VkDevice _device,
image->array_size = pCreateInfo->arrayLayers;
image->samples = pCreateInfo->samples;
image->usage = pCreateInfo->usage;
+ image->create_flags = pCreateInfo->flags;
image->tiling = pCreateInfo->tiling;
image->disjoint = pCreateInfo->flags & VK_IMAGE_CREATE_DISJOINT_BIT;
image->needs_set_tiling = wsi_info && wsi_info->scanout;