Add user-defined exclusion list to RenderingDevice based on device names. - #114926
Open
DarioSamo wants to merge 1 commit into
Open
Add user-defined exclusion list to RenderingDevice based on device names.#114926DarioSamo wants to merge 1 commit into
DarioSamo wants to merge 1 commit into
Conversation
DarioSamo
force-pushed
the
rendering-device-exclusion-list
branch
3 times, most recently
from
January 15, 2026 12:58
5a51909 to
09d674b
Compare
DarioSamo
force-pushed
the
rendering-device-exclusion-list
branch
2 times, most recently
from
May 18, 2026 15:59
cf2760a to
ce4ea9d
Compare
Contributor
Author
|
Rebased to take into account Calinou's change for warning for out of range GPU indices. |
Calinou
approved these changes
May 19, 2026
clayjohn
requested changes
May 20, 2026
DarioSamo
force-pushed
the
rendering-device-exclusion-list
branch
from
May 21, 2026 12:32
9e04607 to
99ed180
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on top of #114922, as the fallback path on Android will not work otherwise.
This PR allows all RenderingContextDrivers to check early during the initialization process against a user-defined exclusion list. Some devices may offer Vulkan but underperform or show broken behavior. Developers can use this setting to redirect users with these devices to automatically use the Compatibility renderer.
Device name exclusion is mostly meant for Android, as other platforms that can freely update their drivers would need a different mechanism based on driver versions instead. Regardless, the implementation should apply in a generic way to all RenderingDevice drivers.
From my tests, my project runs on the Mobile renderer on the Pixel 8, but boots in Compatibility instead if I use the following setting.