diff options
| author | Tony-LunarG <tony@lunarg.com> | 2018-05-30 11:33:19 -0600 |
|---|---|---|
| committer | Tony-LunarG <tony@lunarg.com> | 2018-05-31 13:20:37 -0600 |
| commit | a141b962624829204fd4ccaad99a10858aec4eae (patch) | |
| tree | 0b4809faa04097f9c1d301441ce3f037c863c2b3 /cube/cube.c | |
| parent | b7940409945face40657080b6074fc5588a0c0ad (diff) | |
| download | usermoji-a141b962624829204fd4ccaad99a10858aec4eae.tar.xz | |
cube: Explicitly set QueueFamilyIndex(s) to QUEUE_FAMILY_IGNORED
The QueueFamilyIndex fields only come into play when you want
to use an image in two or more queues from different queue
families, which cube does not do.
Change-Id: I610aa8899539eeb25ca06254b88e6a6d0a2ffc97
Diffstat (limited to 'cube/cube.c')
| -rw-r--r-- | cube/cube.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cube/cube.c b/cube/cube.c index f54887aa..f1f00ec9 100644 --- a/cube/cube.c +++ b/cube/cube.c @@ -657,6 +657,8 @@ static void demo_set_image_layout(struct demo *demo, VkImage image, VkImageAspec .pNext = NULL, .srcAccessMask = srcAccessMask, .dstAccessMask = 0, + .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, + .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED, .oldLayout = old_image_layout, .newLayout = new_image_layout, .image = image, |
