mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-13 08:10:47 -04:00
fix(texture_cache): handle GPU-modified ignored textures
Fix UNIMPLEMENTED assertion when handling GPU-modified ignored textures in texture cache. When ignored textures (remapped or same address/size) have GpuModified flag set, now properly copies data to new image if formats match, or marks new image as modified otherwise. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include <span>
|
||||
@@ -302,7 +303,8 @@ void DefineEntryPoint(const IR::Program& program, EmitContext& ctx, Id main) {
|
||||
ctx.AddExtension("SPV_NV_geometry_shader_passthrough");
|
||||
ctx.AddCapability(spv::Capability::GeometryShaderPassthroughNV);
|
||||
} else {
|
||||
LOG_WARNING(Shader_SPIRV, "Geometry shader passthrough used with no support");
|
||||
// Geometry shader passthrough not supported, will use regular geometry shader
|
||||
LOG_DEBUG(Shader_SPIRV, "Geometry shader passthrough used with no support");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user