[PR #2257] [MERGED] vk_rasterizer: Keep viewport depth offset even without native depth clip control. #2602

Closed
opened 2026-02-27 22:00:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2257
Author: @squidbus
Created: 1/28/2025
Status: Merged
Merged: 1/28/2025
Merged by: @roamic

Base: mainHead: fix-depth


📝 Commits (1)

  • d7471fd vk_rasterizer: Keep viewport depth offset even without native depth clip control.

📊 Changes

1 file changed (+1 additions, -4 deletions)

View changed files

📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+1 -4)

📄 Description

Got a more noticable example in CUSA14836 proving this is correct behavior; without it the title screen has incorrect depth blur due to wrong range.


🔄 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/2257 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/28/2025 **Merged by:** [@roamic](https://github.com/roamic) **Base:** `main` ← **Head:** `fix-depth` --- ### 📝 Commits (1) - [`d7471fd`](https://github.com/shadps4-emu/shadPS4/commit/d7471fdc65043202fa33a5ae7d11ab56aa2a3652) vk_rasterizer: Keep viewport depth offset even without native depth clip control. ### 📊 Changes **1 file changed** (+1 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+1 -4) </details> ### 📄 Description Got a more noticable example in CUSA14836 proving this is correct behavior; without it the title screen has incorrect depth blur due to wrong range. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:33 +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#2602
No description provided.