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:
5c13980
)
swapchain: fix swapchain image's extent depth value 1
59/74159/1
author
deasung.kim
<deasung.kim@samsung.com>
Mon, 13 Jun 2016 03:35:35 +0000
(12:35 +0900)
committer
deasung.kim
<deasung.kim@samsung.com>
Mon, 13 Jun 2016 04:45:14 +0000
(13:45 +0900)
from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html
31.4.1. Allowed Extent Values Based On Image Type
Change-Id: Iea73e5259a2d320d858bf7b7176f1ec99324a6e3
src/wsi/swapchain.c
patch
|
blob
|
history
diff --git
a/src/wsi/swapchain.c
b/src/wsi/swapchain.c
index
435446f
..
89786bc
100644
(file)
--- a/
src/wsi/swapchain.c
+++ b/
src/wsi/swapchain.c
@@
-142,7
+142,7
@@
vk_CreateSwapchainKHR(VkDevice device,
0,
VK_IMAGE_TYPE_2D,
info->imageFormat,
- { info->imageExtent.width, info->imageExtent.height,
0
},
+ { info->imageExtent.width, info->imageExtent.height,
1
},
1, /* mip level. */
info->imageArrayLayers,
VK_SAMPLE_COUNT_1_BIT,