From 8d9244af53e5224333595c20b57d3fd4c06f6fdc Mon Sep 17 00:00:00 2001
From: bjorn <bjorn@collabora.com>
Date: Tue, 13 Sep 2022 12:05:27 -0700
Subject: [PATCH] c/render: Avoid potentially-unsupported memory type;

---
 src/xrt/compositor/render/render_resources.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/xrt/compositor/render/render_resources.c b/src/xrt/compositor/render/render_resources.c
index 908c80edb..d8b8e92d9 100644
--- a/src/xrt/compositor/render/render_resources.c
+++ b/src/xrt/compositor/render/render_resources.c
@@ -833,9 +833,8 @@ render_resources_init(struct render_resources *r,
 	 */
 
 	VkBufferUsageFlags ubo_usage_flags = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT;
-	VkMemoryPropertyFlags memory_property_flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
-	                                              VK_MEMORY_PROPERTY_HOST_COHERENT_BIT |
-	                                              VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
+	VkMemoryPropertyFlags memory_property_flags =
+	    VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
 
 	C(vk_create_sampler(                       //
 	    vk,                                    // vk_bundle