mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
GPU/HW: ScaleNx/MMPX do not require blending
This commit is contained in:
parent
3d8f6bf7aa
commit
a375d558f6
@ -130,7 +130,7 @@ ALWAYS_INLINE static bool IsBlendedTextureFiltering(GPUTextureFilter filter)
|
|||||||
((static_cast<u8>(GPUTextureFilter::JINC2BinAlpha) & 1u) == 0u) &&
|
((static_cast<u8>(GPUTextureFilter::JINC2BinAlpha) & 1u) == 0u) &&
|
||||||
((static_cast<u8>(GPUTextureFilter::xBR) & 1u) == 1u) &&
|
((static_cast<u8>(GPUTextureFilter::xBR) & 1u) == 1u) &&
|
||||||
((static_cast<u8>(GPUTextureFilter::xBRBinAlpha) & 1u) == 0u));
|
((static_cast<u8>(GPUTextureFilter::xBRBinAlpha) & 1u) == 0u));
|
||||||
return ((static_cast<u8>(filter) & 1u) == 1u);
|
return (filter < GPUTextureFilter::Scale2x && ((static_cast<u8>(filter) & 1u) == 1u));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Computes the area affected by a VRAM transfer, including wrap-around of X.
|
/// 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_clear_depth_pipeline.reset();
|
||||||
m_copy_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]
|
// vertex shaders - [textured/palette/sprite]
|
||||||
// fragment shaders - [depth_test][render_mode][transparency_mode][texture_mode][check_mask][dithering][interlacing]
|
// fragment shaders - [depth_test][render_mode][transparency_mode][texture_mode][check_mask][dithering][interlacing]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user