configuration: Add async ASTC decode setting

This commit is contained in:
ameerj 2023-02-22 00:48:12 -05:00
parent 090bc588e5
commit b5bcd8c71b
12 changed files with 49 additions and 8 deletions

View file

@ -1003,6 +1003,7 @@ u64 TextureCache<P>::GetScaledImageSizeBytes(const ImageBase& image) {
template <class P>
void TextureCache<P>::QueueAsyncDecode(Image& image, ImageId image_id) {
UNIMPLEMENTED_IF(False(image.flags & ImageFlagBits::Converted));
LOG_INFO(HW_GPU, "Queuing async texture decode");
image.flags |= ImageFlagBits::IsDecoding;
auto decode = std::make_unique<AsyncDecodeContext>();