[PR #3143] [MERGED] shader_recompiler: Fix handling unbound depth image. #3258

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3143
Author: @squidbus
Created: 6/21/2025
Status: Merged
Merged: 6/22/2025
Merged by: @squidbus

Base: mainHead: fix-unbound


📝 Commits (2)

  • 5d6abfe shader_recompiler: Fix handling unbound depth image.
  • 41b5ec9 shader_recompiler: Consolidate unbound image handling.

📊 Changes

2 files changed (+20 additions, -27 deletions)

View changed files

📝 src/shader_recompiler/info.h (+9 -7)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+11 -20)

📄 Description

When an unbound image is detected, make sure to use the null depth image for depth instructions instead of the regular null image. Should avoid some confusing messaging where the unbound null image is detected as an improper depth image.


🔄 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/3143 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 6/21/2025 **Status:** ✅ Merged **Merged:** 6/22/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `fix-unbound` --- ### 📝 Commits (2) - [`5d6abfe`](https://github.com/shadps4-emu/shadPS4/commit/5d6abfe3f49a15045e7ffff316fdc7ad5a435992) shader_recompiler: Fix handling unbound depth image. - [`41b5ec9`](https://github.com/shadps4-emu/shadPS4/commit/41b5ec9b1a826401604ec5ae0ee413247aff6734) shader_recompiler: Consolidate unbound image handling. ### 📊 Changes **2 files changed** (+20 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/info.h` (+9 -7) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+11 -20) </details> ### 📄 Description When an unbound image is detected, make sure to use the null depth image for depth instructions instead of the regular null image. Should avoid some confusing messaging where the unbound null image is detected as an improper depth image. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:01 +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#3258
No description provided.