summaryrefslogtreecommitdiffstats
path: root/src/vulkan/x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/x11.c')
-rw-r--r--src/vulkan/x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/x11.c b/src/vulkan/x11.c
index ee9cdcdd51c..7b6cee011a4 100644
--- a/src/vulkan/x11.c
+++ b/src/vulkan/x11.c
@@ -144,6 +144,7 @@ VkResult anv_CreateSwapChainWSI(
&(VkMemoryAllocInfo) {
.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOC_INFO,
.allocationSize = image->size,
+ .memoryTypeIndex = 0,
},
(VkDeviceMemory *) &memory);