Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulate VK_EXT_surface_maintenance1 if not supported by a driver #1559

Merged

Conversation

charles-lunarg
Copy link
Collaborator

The VK_EXT_surface_maintance1 extension is an instance level extension, which means the loader will advertise support for it when at least one driver supports it. However, there is presently no way for an application to know which VkPhysicalDevice's will fill out the structs the extension defines and which VkPhysicalDevice's will ignore the structs.

Add support for testing the surface_maintenance1 implementation - making sure that a driver which supports the extension isn't affected and correctly filling out the structs for drivers which do and do not support vkGetPhysicalDeviceSurfaceCapabilities2KHR as well.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 263404.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2719 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2719 passed.

The VK_EXT_surface_maintance1 extension is an instance level extension,
which means the loader will advertise support for it when at least one
driver supports it. However, there is presently no way for an application
to know which VkPhysicalDevice's will fill out the structs the extension
defines and which VkPhysicalDevice's will ignore the structs.

Add support for testing the surface_maintenance1 implementation - making
sure that a driver which supports the extension isn't affected and
correctly filling out the structs for drivers which do and do not support
vkGetPhysicalDeviceSurfaceCapabilities2KHR as well.
@charles-lunarg charles-lunarg force-pushed the emulate_surface_maintenance_1 branch from 5321a79 to 3c81a2c Compare September 24, 2024 20:26
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 263427.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2720 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2720 passed.

@charles-lunarg charles-lunarg merged commit 2fbbb63 into KhronosGroup:main Sep 27, 2024
44 checks passed
@charles-lunarg charles-lunarg deleted the emulate_surface_maintenance_1 branch September 27, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid VK_EXT_surface_maintenance1 behavior in presence of multiple ICD (nvidia + mesa-vulkan-drivers)
2 participants