fix(Vulkan): Work around a driver issue causing graphical corruption, other minor changes (#11204) b8b0d3e01c

This change primarily works around a driver issue that was causing visual corruption on some newer Adreno-based devices.
There are other minor changes as well (displaying the driver version from the bootstrapping code, setting a minimum requirement of Vulkan 1.1 in the renderer)

Co-authored-by: Josh Jersild <joshua@rive.app>
This commit is contained in:
JoshJRive
2025-12-03 20:16:59 +00:00
parent 94ada07808
commit 7aa95ac536
13 changed files with 181 additions and 49 deletions

View File

@@ -65,10 +65,10 @@ public:
#ifndef NDEBUG
.desiredValidationType =
m_backendParams.disableValidationLayers
? VulkanValidationType::None
? VulkanValidationType::none
: (m_backendParams.wantVulkanSynchronizationValidation
? VulkanValidationType::Synchronization
: VulkanValidationType::Core),
? VulkanValidationType::synchronization
: VulkanValidationType::core),
.wantDebugCallbacks = !m_backendParams.disableValidationLayers,
#endif
});

View File

@@ -38,10 +38,10 @@ public:
#ifndef NDEBUG
.desiredValidationType =
m_backendParams.disableValidationLayers
? VulkanValidationType::None
? VulkanValidationType::none
: (m_backendParams.wantVulkanSynchronizationValidation
? VulkanValidationType::Synchronization
: VulkanValidationType::Core),
? VulkanValidationType::synchronization
: VulkanValidationType::core),
.wantDebugCallbacks = !m_backendParams.disableDebugCallbacks,
#endif
});