mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-27 06:01:16 +01:00
[texture_cache] Added b5g6r5 pixel format to depth blit resolves
This commit is contained in:
parent
3ddf349ca1
commit
bd8caa5294
1 changed files with 3 additions and 1 deletions
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue