mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-10 22:59:58 +00:00
MEOW
This commit is contained in:
@@ -959,7 +959,7 @@ bool BlockLinearUnswizzle2DPass::IsSupported(const VideoCommon::ImageInfo& info)
|
|||||||
if (info.type != VideoCommon::ImageType::e2D) {
|
if (info.type != VideoCommon::ImageType::e2D) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (info.resources.levels != 1 || info.resources.layers != 1) {
|
if (info.resources.levels != 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (info.num_samples > 1) {
|
if (info.num_samples > 1) {
|
||||||
|
|||||||
@@ -1241,6 +1241,8 @@ void TextureCache<P>::UploadImageContents(Image& image, StagingBuffer& staging)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpu_memory->FlushRegion(gpu_addr, image.guest_size_bytes,
|
||||||
|
VideoCommon::CacheType::NoTextureCache);
|
||||||
Tegra::Memory::GpuGuestMemory<u8, Tegra::Memory::GuestMemoryFlags::UnsafeRead> swizzle_data(
|
Tegra::Memory::GpuGuestMemory<u8, Tegra::Memory::GuestMemoryFlags::UnsafeRead> swizzle_data(
|
||||||
*gpu_memory, gpu_addr, image.guest_size_bytes, &swizzle_data_buffer);
|
*gpu_memory, gpu_addr, image.guest_size_bytes, &swizzle_data_buffer);
|
||||||
if (True(image.flags & ImageFlagBits::Converted)) {
|
if (True(image.flags & ImageFlagBits::Converted)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user