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:
af25734
)
swapchain: Fill out VkImageCreateInfo when creating presentable image
20/73820/1
author
Taekyun Kim
<tkq.kim@samsung.com>
Thu, 9 Jun 2016 05:29:06 +0000
(14:29 +0900)
committer
Taekyun Kim
<tkq.kim@samsung.com>
Thu, 9 Jun 2016 05:29:06 +0000
(14:29 +0900)
Expected value should be 1 for mip level, 1 for array layers and
VK_SAMPLE_COUNT_1_BIT for samples.
Change-Id: If2fee7fece3f7d6a10fc79bbb6b09462a9bf1f9f
src/wsi/swapchain.c
patch
|
blob
|
history
diff --git
a/src/wsi/swapchain.c
b/src/wsi/swapchain.c
index
d488595
..
e5c4b6e
100644
(file)
--- a/
src/wsi/swapchain.c
+++ b/
src/wsi/swapchain.c
@@
-92,9
+92,9
@@
vk_CreateSwapchainKHR(VkDevice device,
VK_IMAGE_TYPE_2D,
info->imageFormat,
{ info->imageExtent.width, info->imageExtent.height, 0 },
- 0,
- 0,
-
0
,
+ 1, /* mip level. */
+ 1, /* array layers. */
+
VK_SAMPLE_COUNT_1_BIT
,
VK_IMAGE_TILING_LINEAR,
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,
VK_SHARING_MODE_EXCLUSIVE,