[PR #1538] [MERGED] Fix depth bias #2158

Closed
opened 2026-02-27 21:15:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1538
Author: @roamic
Created: 11/16/2024
Status: Merged
Merged: 11/16/2024
Merged by: @georgemoralis

Base: mainHead: fix-depth-bias


📝 Commits (1)

📊 Changes

1 file changed (+6 additions, -8 deletions)

View changed files

📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+6 -8)

📄 Description

Gnm uses depth bias scale in 1/16 units while Vulkan uses 1/1 units.
Before:
Screenshot_2024-11-16_091819
After:
Screenshot_2024-11-16_091618


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1538 **Author:** [@roamic](https://github.com/roamic) **Created:** 11/16/2024 **Status:** ✅ Merged **Merged:** 11/16/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `fix-depth-bias` --- ### 📝 Commits (1) - [`d245e62`](https://github.com/shadps4-emu/shadPS4/commit/d245e62b7bee33e0106814bbf62fefcb7f88d0b3) Fix depth bias ### 📊 Changes **1 file changed** (+6 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+6 -8) </details> ### 📄 Description Gnm uses depth bias scale in 1/16 units while Vulkan uses 1/1 units. Before: ![Screenshot_2024-11-16_091819](https://github.com/user-attachments/assets/d672a408-31d6-4c59-a899-a1da63de2df6) After: ![Screenshot_2024-11-16_091618](https://github.com/user-attachments/assets/f45af164-d94d-4e27-90dd-b57931ffe7aa) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2158
No description provided.