[PR #3062] [CLOSED] Hack ReadLane to prevent device loss #3189

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3062
Author: @mikusp
Created: 6/8/2025
Status: Closed

Base: mainHead: non_uniform_broadcast


📝 Commits (1)

  • 3564ff8 Hack ReadLane to prevent device loss

📊 Changes

3 files changed (+14 additions, -5 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+1 -1)
📝 src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp (+12 -3)
📝 src/shader_recompiler/ir/opcodes.inc (+1 -1)

📄 Description

Allows Death Stranding 1.13 to compile a shader previously resulting in a device loss. Other games using a v_readlane instruction might benefit from it too


🔄 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/3062 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 6/8/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `non_uniform_broadcast` --- ### 📝 Commits (1) - [`3564ff8`](https://github.com/shadps4-emu/shadPS4/commit/3564ff8e0378ee9e893d076e9763d7d7a57f7f3a) Hack ReadLane to prevent device loss ### 📊 Changes **3 files changed** (+14 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+1 -1) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp` (+12 -3) 📝 `src/shader_recompiler/ir/opcodes.inc` (+1 -1) </details> ### 📄 Description Allows Death Stranding 1.13 to compile a shader previously resulting in a device loss. Other games using a `v_readlane` instruction might benefit from it too --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:46 +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#3189
No description provided.