projects
/
platform
/
core
/
uifw
/
vulkan-wsi-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e051cfb
)
swapchain: fill ImageCreateInfo from SwapchainCreateInfo
58/74158/1
author
deasung.kim
<deasung.kim@samsung.com>
Fri, 10 Jun 2016 05:48:39 +0000
(14:48 +0900)
committer
deasung.kim
<deasung.kim@samsung.com>
Mon, 13 Jun 2016 03:32:52 +0000
(12:32 +0900)
Change-Id: I955df19a9428bf99d90eabb2d0663ed641ba9675
src/wsi/swapchain.c
patch
|
blob
|
history
diff --git
a/src/wsi/swapchain.c
b/src/wsi/swapchain.c
index
e777e64
..
435446f
100644
(file)
--- a/
src/wsi/swapchain.c
+++ b/
src/wsi/swapchain.c
@@
-144,13
+144,13
@@
vk_CreateSwapchainKHR(VkDevice device,
info->imageFormat,
{ info->imageExtent.width, info->imageExtent.height, 0 },
1, /* mip level. */
- 1, /* array layers. */
+ info->imageArrayLayers,
VK_SAMPLE_COUNT_1_BIT,
VK_IMAGE_TILING_LINEAR,
-
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
,
-
VK_SHARING_MODE_EXCLUSIVE
,
-
0
,
-
NULL
,
+
info->imageUsage
,
+
info->imageSharingMode
,
+
info->queueFamilyIndexCount
,
+
info->pQueueFamilyIndices
,
VK_IMAGE_LAYOUT_UNDEFINED,
};