[PR #3483] [MERGED] shader_recompiler: Implement V_ADD_F64 and loading 64-bit float from SGPR. #3505

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3483
Author: @squidbus
Created: 8/30/2025
Status: Merged
Merged: 8/30/2025
Merged by: @squidbus

Base: mainHead: add-f64


📝 Commits (1)

  • 913bf3b shader_recompiler: Implement V_ADD_F64 and loading 64-bit float from SGPR.

📊 Changes

3 files changed (+10 additions, -1 deletions)

View changed files

📝 src/shader_recompiler/frontend/translate/translate.cpp (+1 -1)
📝 src/shader_recompiler/frontend/translate/translate.h (+1 -0)
📝 src/shader_recompiler/frontend/translate/vector_alu.cpp (+8 -0)

📄 Description

  • Implement V_ADD_F64. 64-bit float add already exists in the IR.
  • Implement 64-bit float load from SGPR.

Should fix some shader compilation issues in My First Gran Turismo® (CUSA49696).


🔄 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/3483 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 8/30/2025 **Status:** ✅ Merged **Merged:** 8/30/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `add-f64` --- ### 📝 Commits (1) - [`913bf3b`](https://github.com/shadps4-emu/shadPS4/commit/913bf3b5ceb56b156885ccde2361a88485ef0a2f) shader_recompiler: Implement V_ADD_F64 and loading 64-bit float from SGPR. ### 📊 Changes **3 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/frontend/translate/translate.cpp` (+1 -1) 📝 `src/shader_recompiler/frontend/translate/translate.h` (+1 -0) 📝 `src/shader_recompiler/frontend/translate/vector_alu.cpp` (+8 -0) </details> ### 📄 Description * Implement `V_ADD_F64`. 64-bit float add already exists in the IR. * Implement 64-bit float load from SGPR. Should fix some shader compilation issues in My First Gran Turismo® (CUSA49696). --- <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:56 +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#3505
No description provided.