mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-24 12:37:48 +00:00
Texture Cache: Fix ASTC textures
This commit is contained in:
parent
7d3f6ba53d
commit
a1317c3a6e
3 changed files with 7 additions and 7 deletions
|
|
@ -1268,7 +1268,7 @@ Image::Image(TextureCacheRuntime& runtime_, const ImageInfo& info_, GPUVAddr gpu
|
|||
if (IsPixelFormatASTC(info.format) && !runtime->device.IsOptimalAstcSupported()) {
|
||||
if (Settings::values.async_astc.GetValue()) {
|
||||
flags |= VideoCommon::ImageFlagBits::AsynchronousDecode;
|
||||
} else if (Settings::values.accelerate_astc.GetValue()) {
|
||||
} else if (Settings::values.accelerate_astc.GetValue() && info.size.depth == 1) {
|
||||
flags |= VideoCommon::ImageFlagBits::AcceleratedUpload;
|
||||
}
|
||||
flags |= VideoCommon::ImageFlagBits::Converted;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue