Skip to content

Commit

Permalink
Support flipped Y on VK 1.1 devices (#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored Feb 25, 2022
1 parent 59ca27d commit 58bf05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ impl super::Instance {
}
if !phd_capabilities.supports_extension(vk::AmdNegativeViewportHeightFn::name())
&& !phd_capabilities.supports_extension(vk::KhrMaintenance1Fn::name())
&& phd_capabilities.properties.api_version < vk::API_VERSION_1_2
&& phd_capabilities.properties.api_version < vk::API_VERSION_1_1
{
log::warn!(
"viewport Y-flip is not supported, hiding adapter: {}",
Expand Down

0 comments on commit 58bf05f

Please sign in to comment.