summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan/vk_rasterizer.cpp
AgeCommit message (Collapse)Author
2025-05-12refactor(vulkan): remove depth buffer workarounds and excessive loggingZephyron
- Remove special handling for reversed depth scenarios that were added for Civilization 7 - Remove excessive logging in Vulkan renderer - Update Discord client ID
2025-05-12renderer/friend: Improve reversed depth handling and Friend serviceZephyron
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-12vulkan: Implement AMD driver workaround for logic operationsZephyron
- Added conditional check for AMD graphics drivers - Automatically disable logic operations when float vertex attributes are present to work around driver quirks - Maintain original logic op state to preserve emulator behavior - Prepare dynamic state management infrastructure for future OpenGL implementation changes OpenGL implementation will follow in subsequent commits. Signed-off-by: Zephyron <zephyron@citron-emu.org>
2024-12-20Implemented LogicOp fixJarrod Norwell
2024-02-27vk_rasterizer: flip scissor y on lower left origin mode (#13122)liamwhite
2024-02-26settings: remove global override for smash on amdvlkLiam
2024-02-26video_core: make gpu context aware of rendering programLiam
2024-02-19scope_exit: Make constexprFearlessTobi
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-01-31video_core: consistently account for resolution scaling when renderingLiam
2024-01-31video_core: simplify accelerated surface fetch and crop handling between APIsLiam
2024-01-18Core: Eliminate core/memory dependancies.Fernando Sahmkow
2024-01-18Core: Clang format and other small issues.Fernando Sahmkow
2024-01-18SMMU: Implement physical memory mirroringFernando Sahmkow
2024-01-18SMMU: Initial adaptation to video_core.Fernando Sahmkow
2023-12-19OpenGL: Add GL_PRIMITIVES_GENERATED and ↵Ameer J
GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries
2023-12-08Merge pull request #12274 from liamwhite/srgb-nonsenseliamwhite
renderer_vulkan: do not recreate swapchain for srgb
2023-12-03renderer_vulkan: do not recreate swapchain for srgbLiam
2023-11-30renderer_vulkan: adjust window origin and swizzle independentlyLiam
2023-11-29renderer_vulkan: exclude more qcom drivers from extensionsLiam
2023-11-12Memory: Fix invalidation handling from the CPU/ServicesFernando Sahmkow
2023-11-10Revert "renderer_vulkan: add locks to avoid scheduler flushes from CPU"Fernando Sahmkow
This reverts commit d9dde7e6f3a90f58d642808900ddd558da21f762.
2023-11-05renderer_vulkan: render on bottom of surface clip when flipped (#11894)liamwhite
2023-11-01renderer_vulkan: minimize transform feedback support logLiam
2023-10-23Add missing dowhile loops around FindBuffer callsKelebek1
2023-10-20Merge pull request #11806 from liamwhite/needs-more-lockingliamwhite
renderer_vulkan: add locks to avoid scheduler flushes from CPU
2023-10-17Merge pull request #11349 from vonchenplus/buffer_cache_crashliamwhite
video_core: Fix moltenvk crash on macos
2023-10-17renderer_vulkan: add locks to avoid scheduler flushes from CPULiam
2023-10-07Merge pull request #11630 from Kelebek1/clear_stencil_requires_depth_testliamwhite
Enable depth test on depthstencil clear path
2023-09-28Enable depth test on stencil clear pathKelebek1
2023-09-28Merge pull request #11402 from FernandoS27/depth-bias-controlliamwhite
Vulkan: Implement Depth Bias Control
2023-09-23Query Cache: address issuesFernando Sahmkow
2023-09-23Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow
2023-09-16Vulkan: add temporary workaround for AMDVLKFernando Sahmkow
2023-09-16Vulkan: Implement Depth Bias ControlFernando Sahmkow
2023-09-07video_core: Add missing scissor update when viewport scale offset disableFeng Chen
2023-08-27VideoCore: Implement DispatchIndirectFernando Sahmkow
2023-08-19Masked depthstencil clearsKelebek1
2023-08-13Mark accelerted DMA destination buffers and images as GPU-modifiedKelebek1
2023-08-02vulkan: centralize configAlexandre Bouvier
2023-06-28Memory Tracking: Optimize tracking to only use atomic writes when contested ↵Fernando Sahmkow
with the host GPU
2023-06-28MemoryTracking: Initial setup of atomic writes.Fernando Sahmkow
2023-06-27video_core: Add BCn decoding supportGPUCode
2023-06-27renderer_vulkan: Respect viewport limitGPUCode
2023-06-03video_core: vk_rasterizer: Decrease draw dispatch count for Android.bunnei
2023-06-03android: video_core: Disable some problematic things on GPU Normal.bunnei
2023-05-16Merge pull request #10217 from Kelebek1/clear_valueliamwhite
Use the rendertarget format of the correct RT rather than the first valid
2023-05-10renderer_vulkan: separate guest and host compute descriptor queuesLiam
2023-05-09Use the rendertarget format of the correct RT rather than the first validKelebek1
2023-05-07Texture cache: Only force flush the dma downloadsFernando Sahmkow
2023-05-07Buffer Cache: disable reactive flushing in it.Fernando Sahmkow