mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-09 02:50:59 +01:00
feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first
This commit is contained in:
@@ -281,6 +281,12 @@ bool device::create(instance const &Instance, std::string &Reason)
|
||||
{
|
||||
extensions.push_back("VK_KHR_portability_subset");
|
||||
}
|
||||
// the allocator keeps to the budget of the memory heaps where the driver tells it
|
||||
m_memory_budget = m_capabilities.ext_memory_budget;
|
||||
if (m_memory_budget)
|
||||
{
|
||||
extensions.push_back(VK_EXT_MEMORY_BUDGET_EXTENSION_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
VkDeviceCreateInfo create{};
|
||||
|
||||
Reference in New Issue
Block a user