texture_cache: slight detilers refactoring (#2036)

This commit is contained in:
psucien 2025-01-03 21:42:23 +01:00 committed by GitHub
parent c2be12f009
commit 8e8671323a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 87 additions and 164 deletions

View file

@ -427,7 +427,7 @@ bool Presenter::ShowSplash(Frame* frame /*= nullptr*/) {
VideoCore::Extent3D{splash->GetImageInfo().width, splash->GetImageInfo().height, 1};
info.pitch = splash->GetImageInfo().width;
info.guest_address = VAddr(splash->GetImageData().data());
info.guest_size_bytes = splash->GetImageData().size();
info.guest_size = splash->GetImageData().size();
info.mips_layout.emplace_back(splash->GetImageData().size(),
splash->GetImageInfo().width,
splash->GetImageInfo().height, 0);