mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-30 18:38:32 +00:00
c/render: Avoid potentially-unsupported memory type;
This commit is contained in:
parent
43526f48b7
commit
8d9244af53
|
@ -833,9 +833,8 @@ render_resources_init(struct render_resources *r,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VkBufferUsageFlags ubo_usage_flags = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT;
|
VkBufferUsageFlags ubo_usage_flags = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT;
|
||||||
VkMemoryPropertyFlags memory_property_flags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
|
VkMemoryPropertyFlags memory_property_flags =
|
||||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT |
|
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
|
||||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
|
|
||||||
|
|
||||||
C(vk_create_sampler( //
|
C(vk_create_sampler( //
|
||||||
vk, // vk_bundle
|
vk, // vk_bundle
|
||||||
|
|
Loading…
Reference in a new issue