From a375d558f6759852b7b2e4231bee7c0d190d0edd Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 17 May 2025 14:04:29 +1000 Subject: [PATCH] GPU/HW: ScaleNx/MMPX do not require blending --- src/core/gpu_hw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index c64128477..69e43579c 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -130,7 +130,7 @@ ALWAYS_INLINE static bool IsBlendedTextureFiltering(GPUTextureFilter filter) ((static_cast(GPUTextureFilter::JINC2BinAlpha) & 1u) == 0u) && ((static_cast(GPUTextureFilter::xBR) & 1u) == 1u) && ((static_cast(GPUTextureFilter::xBRBinAlpha) & 1u) == 0u)); - return ((static_cast(filter) & 1u) == 1u); + return (filter < GPUTextureFilter::Scale2x && ((static_cast(filter) & 1u) == 1u)); } /// Computes the area affected by a VRAM transfer, including wrap-around of X. @@ -1151,7 +1151,7 @@ bool GPU_HW::CompilePipelines(Error* error) m_clear_depth_pipeline.reset(); m_copy_depth_pipeline.reset(); - ShaderCompileProgressTracker progress("Compiling Pipelines", total_items); + ShaderCompileProgressTracker progress(TRANSLATE_STR("GPU_HW", "Compiling Pipelines..."), total_items); // vertex shaders - [textured/palette/sprite] // fragment shaders - [depth_test][render_mode][transparency_mode][texture_mode][check_mask][dithering][interlacing]