Support flipped Y on VK 1.1 devices (#2512)

This commit is contained in:
Connor Fitzgerald 2022-02-25 17:47:59 -05:00 committed by GitHub
parent 59ca27d08d
commit 58bf05f046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: {}",