CamilleLaVey
4 weeks ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
4 additions and
3 deletions
-
src/video_core/vulkan_common/vulkan_device.cpp
|
|
|
@ -817,9 +817,10 @@ bool Device::ComputeIsOptimalAstcSupported() const { |
|
|
|
if (!features.features.textureCompressionASTC_LDR) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
const auto format_feature_usage{ |
|
|
|
VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_BLIT_SRC_BIT | |
|
|
|
VK_FORMAT_FEATURE_BLIT_DST_BIT | VK_FORMAT_FEATURE_TRANSFER_SRC_BIT | |
|
|
|
const auto format_feature_usage{VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | |
|
|
|
VK_FORMAT_FEATURE_BLIT_SRC_BIT | |
|
|
|
VK_FORMAT_FEATURE_BLIT_DST_BIT | |
|
|
|
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT | |
|
|
|
VK_FORMAT_FEATURE_TRANSFER_DST_BIT}; |
|
|
|
for (const auto format : astc_formats) { |
|
|
|
const auto physical_format_properties{physical.GetFormatProperties(format)}; |
|
|
|
|