Skip to content

util/simple_pipeline: use HOST_VISIBLE_BIT to allocate user buffers

Marcin Ślusarz requested to merge mslusarz/crucible:host_visible into main

Vulkan spec says: "VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT bit specifies that memory allocated with this type can be mapped for host access using vkMapMemory."

Buffers allocated here are mapped few lines later.

No known runtime problem is fixed by this. I found this by code inspection.

Merge request reports