mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-12 13:48:59 +02:00
[vk] Re-ordering format feature
This commit is contained in:
parent
96e159bdc5
commit
45a743cab8
1 changed files with 4 additions and 3 deletions
|
|
@ -844,9 +844,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)};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue