[PR #915] [MERGED] shader_recompiler: Implement basic 64-bit floating point support #1829

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/915
Author: @polybiusproxy
Created: 9/14/2024
Status: Merged
Merged: 9/15/2024
Merged by: @psucien

Base: mainHead: shader_recompiler/fp64


📝 Commits (2)

  • f30ead9 shader_recompiler: Implement basic 64-bit floating point support
  • 98ac2af Fix formatting

📊 Changes

13 files changed (+65 additions, -30 deletions)

View changed files

📝 src/shader_recompiler/backend/spirv/emit_spirv.cpp (+3 -0)
📝 src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp (+6 -2)
📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+2 -1)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+6 -0)
📝 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)
📝 src/shader_recompiler/info.h (+1 -0)
📝 src/shader_recompiler/ir/ir_emitter.cpp (+4 -0)
📝 src/shader_recompiler/ir/ir_emitter.h (+2 -0)
📝 src/shader_recompiler/ir/opcodes.inc (+27 -26)
📝 src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp (+3 -0)
📝 src/video_core/renderer_vulkan/vk_instance.cpp (+1 -0)

📄 Description

This PR serves as a base for 64-bit floating point shader instructions.

  • Implements V_MAX_F64 needed by Beach Buggy Racing (CUSA02366)

🔄 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/915 **Author:** [@polybiusproxy](https://github.com/polybiusproxy) **Created:** 9/14/2024 **Status:** ✅ Merged **Merged:** 9/15/2024 **Merged by:** [@psucien](https://github.com/psucien) **Base:** `main` ← **Head:** `shader_recompiler/fp64` --- ### 📝 Commits (2) - [`f30ead9`](https://github.com/shadps4-emu/shadPS4/commit/f30ead9211d09e58351ea8c817c78d890c7b3668) shader_recompiler: Implement basic 64-bit floating point support - [`98ac2af`](https://github.com/shadps4-emu/shadPS4/commit/98ac2af4fbef66aa73a60b831e7af4c898fdba5c) Fix formatting ### 📊 Changes **13 files changed** (+65 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/backend/spirv/emit_spirv.cpp` (+3 -0) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp` (+6 -2) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+2 -1) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+6 -0) 📝 `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) 📝 `src/shader_recompiler/info.h` (+1 -0) 📝 `src/shader_recompiler/ir/ir_emitter.cpp` (+4 -0) 📝 `src/shader_recompiler/ir/ir_emitter.h` (+2 -0) 📝 `src/shader_recompiler/ir/opcodes.inc` (+27 -26) 📝 `src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp` (+3 -0) 📝 `src/video_core/renderer_vulkan/vk_instance.cpp` (+1 -0) </details> ### 📄 Description This PR serves as a base for 64-bit floating point shader instructions. - Implements `V_MAX_F64` needed by **Beach Buggy Racing (``CUSA02366``)** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:07 +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#1829
No description provided.