yuzu/src/core/hle
Zephyron 2d4f1b4d2f renderer/friend: Improve reversed depth handling and Friend service
This commit makes two significant improvements:

1. Vulkan renderer:
   - Detect and properly handle reversed depth buffers (clear_depth < 0.5)
   - Force depth write enable when needed with reversed depth
   - Use GREATER_OR_EQUAL comparison for reversed depth scenarios
   - Fix transparency issues in games like Civilization 7 by adjusting blend factors
   - Add detailed logging for depth buffer operations

2. Friend service:
   - Implement previously stubbed functions including EnsureFriendListAvailable
     and EnsureBlockedUserListAvailable
   - Add proper event signaling to prevent games from hanging
   - Implement Cancel function for improved compatibility
   - Update copyright notice for the Citron project

These changes improve compatibility with modern games using reversed depth
buffers and prevent hangs in titles that rely on Friend service functionality.

Co-authored-by: m33ts4k0z <m33ts4k0z@citron-emu.org>
Co-committed-by: m33ts4k0z <m33ts4k0z@citron-emu.org>
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-05-12 12:46:19 +01:00
..
kernel feat: Add Home Menu launch support and system improvements 2025-05-12 12:46:19 +01:00
service renderer/friend: Improve reversed depth handling and Friend service 2025-05-12 12:46:19 +01:00
api_version.h api_version: Update Atmosphere version and add citron copyright 2025-05-11 14:54:45 +01:00
ipc.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
result.h service: Implement rebootless system update stubs and types 2025-05-11 14:54:37 +01:00