mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-01 10:52:26 +00:00
[texture_cache] Added b5g6r5 pixel format to depth blit resolves
This commit is contained in:
@@ -1299,7 +1299,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im
|
|||||||
case PixelFormat::R32G32_FLOAT:
|
case PixelFormat::R32G32_FLOAT:
|
||||||
case PixelFormat::R32G32_SINT:
|
case PixelFormat::R32G32_SINT:
|
||||||
case PixelFormat::R32_FLOAT:
|
case PixelFormat::R32_FLOAT:
|
||||||
if ((src_view.format == PixelFormat::D32_FLOAT) && Settings::values.fix_bloom_effects.GetValue()) {
|
if (src_view.format == PixelFormat::D32_FLOAT &&
|
||||||
|
(dst_view.format == PixelFormat::B5G6R5_UNORM ||
|
||||||
|
Settings::values.fix_bloom_effects.GetValue())) {
|
||||||
const Region2D region{
|
const Region2D region{
|
||||||
.start = {0, 0},
|
.start = {0, 0},
|
||||||
.end = {static_cast<s32>(dst->RenderArea().width),
|
.end = {static_cast<s32>(dst->RenderArea().width),
|
||||||
|
|||||||
Reference in New Issue
Block a user