rasterizer_cache: Log additional settings
This commit is contained in:
@@ -163,6 +163,8 @@ void LogSettings() {
|
||||
log_setting("Layout_LargeScreenProportion", values.large_screen_proportion.GetValue());
|
||||
log_setting("Utility_DumpTextures", values.dump_textures.GetValue());
|
||||
log_setting("Utility_CustomTextures", values.custom_textures.GetValue());
|
||||
log_setting("Utility_PreloadTextures", values.preload_textures.GetValue());
|
||||
log_setting("Utility_AsyncCustomLoading", values.async_custom_loading.GetValue());
|
||||
log_setting("Utility_UseDiskShaderCache", values.use_disk_shader_cache.GetValue());
|
||||
log_setting("Audio_Emulation", GetAudioEmulationName(values.audio_emulation.GetValue()));
|
||||
log_setting("Audio_OutputType", values.output_type.GetValue());
|
||||
|
@@ -701,10 +701,12 @@ void RasterizerCache<T>::InvalidateFramebuffer(const Framebuffer& framebuffer) {
|
||||
const u32 size = boost::icl::length(interval);
|
||||
InvalidateRegion(addr, size, surface_id);
|
||||
};
|
||||
if (framebuffer.HasAttachment(SurfaceType::Color)) {
|
||||
const bool has_color = framebuffer.HasAttachment(SurfaceType::Color);
|
||||
const bool has_depth = framebuffer.HasAttachment(SurfaceType::DepthStencil);
|
||||
if (has_color) {
|
||||
invalidate(render_targets.color_id);
|
||||
}
|
||||
if (framebuffer.HasAttachment(SurfaceType::DepthStencil)) {
|
||||
if (has_depth) {
|
||||
invalidate(render_targets.depth_id);
|
||||
}
|
||||
}
|
||||
|
@@ -240,6 +240,7 @@ bool TextureRuntime::Reinterpret(Surface& source, Surface& dest,
|
||||
const VideoCore::TextureBlit& blit) {
|
||||
const PixelFormat src_format = source.pixel_format;
|
||||
const PixelFormat dst_format = dest.pixel_format;
|
||||
ASSERT_MSG(src_format != dst_format, "Reinterpretation with the same format is invalid");
|
||||
if (src_format == PixelFormat::D24S8 && dst_format == PixelFormat::RGBA8) {
|
||||
blit_helper.ConvertDS24S8ToRGBA8(source, dest, blit);
|
||||
} else if (src_format == PixelFormat::RGBA4 && dst_format == PixelFormat::RGB5A1) {
|
||||
|
Reference in New Issue
Block a user