mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-23 09:50:39 +02:00
Keep refining astc decoding math
This commit is contained in:
parent
26031c0940
commit
b24c3d7226
3 changed files with 30 additions and 27 deletions
|
|
@ -1107,7 +1107,7 @@ void TextureCache<P>::UploadImageContents(Image& image, StagingBuffer& staging)
|
|||
const GPUVAddr gpu_addr = image.gpu_addr;
|
||||
|
||||
if (True(image.flags & ImageFlagBits::AcceleratedUpload)) {
|
||||
gpu_memory->ReadBlock(gpu_addr, mapped_span.data(), mapped_span.size_bytes(),
|
||||
gpu_memory->ReadBlock(gpu_addr, mapped_span.data(), image.guest_size_bytes,
|
||||
VideoCommon::CacheType::NoTextureCache);
|
||||
const auto uploads = FullUploadSwizzles(image.info);
|
||||
runtime.AccelerateImageUpload(image, staging, FixSmallVectorADL(uploads));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue