[PR #188] [MERGED] video_core: Preliminary storage image support and more #1376

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

📋 Pull Request Information

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

Base: mainHead: storage-gpu


📝 Commits (4)

  • 421b52c vk_rasterizer: Clear depth buffer when DB_RENDER_CONTROL says so
  • b48b127 video_core: Preliminary storage image support, more opcodes
  • e6eaad6 renderer_vulkan: a fix for vertex buffers merging
  • 545a07f renderer_vulkan: a heuristic for blend override when alpha out is masked

📊 Changes

30 files changed (+429 additions, -101 deletions)

View changed files

📝 CMakeLists.txt (+1 -0)
📝 src/shader_recompiler/backend/spirv/emit_spirv.cpp (+5 -0)
📝 src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp (+19 -2)
📝 src/shader_recompiler/backend/spirv/emit_spirv_image.cpp (+9 -5)
📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+6 -3)
src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp (+21 -0)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+17 -42)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.h (+2 -0)
📝 src/shader_recompiler/frontend/translate/data_share.cpp (+13 -0)
📝 src/shader_recompiler/frontend/translate/scalar_alu.cpp (+18 -3)
📝 src/shader_recompiler/frontend/translate/translate.cpp (+90 -8)
📝 src/shader_recompiler/frontend/translate/translate.h (+9 -1)
📝 src/shader_recompiler/frontend/translate/vector_alu.cpp (+30 -2)
📝 src/shader_recompiler/frontend/translate/vector_memory.cpp (+42 -0)
📝 src/shader_recompiler/ir/ir_emitter.cpp (+8 -0)
📝 src/shader_recompiler/ir/ir_emitter.h (+2 -6)
📝 src/shader_recompiler/ir/microinstruction.cpp (+1 -0)
📝 src/shader_recompiler/ir/opcodes.inc (+4 -0)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+36 -13)
📝 src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp (+3 -0)

...and 10 more files

📄 Description

  • Add support for binding and writing to storage images in all shader types.
  • Add more opcodes
  • Fix a problem with incorrect color buffer mask
  • Clear depth buffer when DB_RENDER_CONTROL is configured to do that

🔄 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/188 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 6/10/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `storage-gpu` --- ### 📝 Commits (4) - [`421b52c`](https://github.com/shadps4-emu/shadPS4/commit/421b52c659bf69113c0b3612b01a3bf665780d38) vk_rasterizer: Clear depth buffer when DB_RENDER_CONTROL says so - [`b48b127`](https://github.com/shadps4-emu/shadPS4/commit/b48b127624687f9956107ff171dddb6c4d2fe116) video_core: Preliminary storage image support, more opcodes - [`e6eaad6`](https://github.com/shadps4-emu/shadPS4/commit/e6eaad60f00e7fe77205999c23dc4088bfaacd8e) renderer_vulkan: a fix for vertex buffers merging - [`545a07f`](https://github.com/shadps4-emu/shadPS4/commit/545a07f2d1b5c7db84cd035280a347e80bfee694) renderer_vulkan: a heuristic for blend override when alpha out is masked ### 📊 Changes **30 files changed** (+429 additions, -101 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -0) 📝 `src/shader_recompiler/backend/spirv/emit_spirv.cpp` (+5 -0) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp` (+19 -2) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_image.cpp` (+9 -5) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+6 -3) ➕ `src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp` (+21 -0) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+17 -42) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.h` (+2 -0) 📝 `src/shader_recompiler/frontend/translate/data_share.cpp` (+13 -0) 📝 `src/shader_recompiler/frontend/translate/scalar_alu.cpp` (+18 -3) 📝 `src/shader_recompiler/frontend/translate/translate.cpp` (+90 -8) 📝 `src/shader_recompiler/frontend/translate/translate.h` (+9 -1) 📝 `src/shader_recompiler/frontend/translate/vector_alu.cpp` (+30 -2) 📝 `src/shader_recompiler/frontend/translate/vector_memory.cpp` (+42 -0) 📝 `src/shader_recompiler/ir/ir_emitter.cpp` (+8 -0) 📝 `src/shader_recompiler/ir/ir_emitter.h` (+2 -6) 📝 `src/shader_recompiler/ir/microinstruction.cpp` (+1 -0) 📝 `src/shader_recompiler/ir/opcodes.inc` (+4 -0) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+36 -13) 📝 `src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp` (+3 -0) _...and 10 more files_ </details> ### 📄 Description * Add support for binding and writing to storage images in all shader types. * Add more opcodes * Fix a problem with incorrect color buffer mask * Clear depth buffer when DB_RENDER_CONTROL is configured to do that --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:17 +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#1376
No description provided.