[PR #1336] [MERGED] shader_recompiler: Add asserts for get/set register bounds. #2055

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1336
Author: @squidbus
Created: 10/10/2024
Status: Merged
Merged: 10/10/2024
Merged by: @raphaelthegreat

Base: mainHead: asserts


📝 Commits (1)

  • c3247d4 shader_recompiler: Add asserts for get/set register bounds.

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 src/shader_recompiler/ir/ir_emitter.cpp (+7 -0)

📄 Description

Adds asserts to getting and setting with scalar and vector registers to make sure the register is in bounds.


🔄 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/1336 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 10/10/2024 **Status:** ✅ Merged **Merged:** 10/10/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `asserts` --- ### 📝 Commits (1) - [`c3247d4`](https://github.com/shadps4-emu/shadPS4/commit/c3247d4437db68bbe6bdc9d7289db86cc05aa07d) shader_recompiler: Add asserts for get/set register bounds. ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/ir/ir_emitter.cpp` (+7 -0) </details> ### 📄 Description Adds asserts to getting and setting with scalar and vector registers to make sure the register is in bounds. --- <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:00 +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#2055
No description provided.