mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-03 03:07:08 +02:00
fx
This commit is contained in:
parent
7a02bd3be7
commit
0a47f95e4a
1 changed files with 3 additions and 1 deletions
|
|
@ -750,8 +750,10 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const auto test_sampler = logical.CreateSampler(sampler_ci);
|
const auto test_sampler = logical.CreateSampler(sampler_ci);
|
||||||
|
// dson't allow to optimize away
|
||||||
|
(void)test_sampler;
|
||||||
// Destroy immediately; this is just a capability test.
|
// Destroy immediately; this is just a capability test.
|
||||||
logical.DestroySampler(test_sampler);
|
logical.Destroy(test_sampler);
|
||||||
LOG_INFO(Render_Vulkan, "VK_EXT_custom_border_color runtime test passed");
|
LOG_INFO(Render_Vulkan, "VK_EXT_custom_border_color runtime test passed");
|
||||||
} catch (const vk::Exception& e) {
|
} catch (const vk::Exception& e) {
|
||||||
LOG_WARNING(Render_Vulkan, "VK_EXT_custom_border_color advertised but sampler create failed: {}. Disabling feature.", e.what());
|
LOG_WARNING(Render_Vulkan, "VK_EXT_custom_border_color advertised but sampler create failed: {}. Disabling feature.", e.what());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue