mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-18 03:31:31 +12:00
Disable timeline semaphore features
This is an optional feature that can be supported conditionally later
This commit is contained in:
parent
8ace959d72
commit
da6f880128
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ void RendererVK::initGraphicsContext(SDL_Window* window) {
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
"VK_KHR_portability_subset",
|
"VK_KHR_portability_subset",
|
||||||
#endif
|
#endif
|
||||||
VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME
|
//VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME
|
||||||
};
|
};
|
||||||
deviceInfo.ppEnabledExtensionNames = deviceExtensions;
|
deviceInfo.ppEnabledExtensionNames = deviceExtensions;
|
||||||
deviceInfo.enabledExtensionCount = std::size(deviceExtensions);
|
deviceInfo.enabledExtensionCount = std::size(deviceExtensions);
|
||||||
|
@ -140,7 +140,7 @@ void RendererVK::initGraphicsContext(SDL_Window* window) {
|
||||||
auto& deviceFeatures = deviceFeatureChain.get<vk::PhysicalDeviceFeatures2>().features;
|
auto& deviceFeatures = deviceFeatureChain.get<vk::PhysicalDeviceFeatures2>().features;
|
||||||
|
|
||||||
auto& deviceTimelineFeatures = deviceFeatureChain.get<vk::PhysicalDeviceTimelineSemaphoreFeatures>();
|
auto& deviceTimelineFeatures = deviceFeatureChain.get<vk::PhysicalDeviceTimelineSemaphoreFeatures>();
|
||||||
deviceTimelineFeatures.timelineSemaphore = true;
|
//deviceTimelineFeatures.timelineSemaphore = true;
|
||||||
|
|
||||||
deviceInfo.pNext = &deviceFeatureChain.get();
|
deviceInfo.pNext = &deviceFeatureChain.get();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue