-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[dx12] Don't panic if MaxSupportedFeatureLevel wasn't set by query
#8806
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
base: trunk
Are you sure you want to change the base?
Changes from 4 commits
c001579
ab2dceb
cfbffe2
f3a3a46
6f6371b
c655baf
9e82d0f
aafe2f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -124,6 +124,7 @@ impl super::Adapter { | |
| Direct3D::D3D_FEATURE_LEVEL_12_0 => FeatureLevel::_12_0, | ||
| Direct3D::D3D_FEATURE_LEVEL_12_1 => FeatureLevel::_12_1, | ||
| Direct3D::D3D_FEATURE_LEVEL_12_2 => FeatureLevel::_12_2, | ||
| Direct3D::D3D_FEATURE_LEVEL(0) => return None, | ||
inner-daemons marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue(non-blocking): I suspect we'll also want to report this via telemetry. That sound interesting, @teoxoy?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I doubt this will be worth reporting given my comment below. Also completely out of my domain of expertise lol. Seems to be an issue with some windows versions that is easily bypassed. I'll leave this unresolved for visibility
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would be good to have telemetry for this since it should count towards the "total nr of people without D3D12" counter. I can also open another PR for it. |
||
| _ => unreachable!(), | ||
| }; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.