[PR #1787] [MERGED] GPU processor refactoring #2302

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1787
Author: @psucien
Created: 12/14/2024
Status: Merged
Merged: 12/14/2024
Merged by: @raphaelthegreat

Base: mainHead: gpu_thread_prettified


📝 Commits (5)

  • 26f3925 coroutine code prettification
  • 133a282 asc queues submission refactoring
  • 472cfeb better asc ring context handling
  • 9c304b9 final touches and review notes
  • 04f3054 even more simplification for context saving

📊 Changes

12 files changed (+234 additions, -146 deletions)

View changed files

📝 src/common/debug.h (+3 -0)
📝 src/core/debug_state.cpp (+44 -24)
📝 src/core/debug_state.h (+6 -2)
📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+20 -16)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+1 -1)
📝 src/video_core/amdgpu/liverpool.cpp (+120 -84)
📝 src/video_core/amdgpu/liverpool.h (+21 -4)
📝 src/video_core/renderer_vulkan/vk_pipeline_cache.cpp (+5 -4)
📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+3 -3)
📝 src/video_core/renderer_vulkan/vk_shader_hle.cpp (+9 -7)
📝 src/video_core/renderer_vulkan/vk_shader_hle.h (+1 -1)
📝 src/video_core/texture_cache/tile_manager.cpp (+1 -0)

📄 Description

A bit of refactoring plus fixes for:

  • ring read pointer update
  • Gnm ASC events notification
  • Coroutines CS context switching
  • Tracy fiber markers

🔄 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/1787 **Author:** [@psucien](https://github.com/psucien) **Created:** 12/14/2024 **Status:** ✅ Merged **Merged:** 12/14/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `gpu_thread_prettified` --- ### 📝 Commits (5) - [`26f3925`](https://github.com/shadps4-emu/shadPS4/commit/26f392521250857fcccbc67cd850a8fbe1568cbe) coroutine code prettification - [`133a282`](https://github.com/shadps4-emu/shadPS4/commit/133a282be7039875a80bb8bac0941085bf0257c9) asc queues submission refactoring - [`472cfeb`](https://github.com/shadps4-emu/shadPS4/commit/472cfebc39b37f725b9e7b6dfa66200aa5581caf) better asc ring context handling - [`9c304b9`](https://github.com/shadps4-emu/shadPS4/commit/9c304b9af84d0c55f125df4a8bb7c227fbf6cb93) final touches and review notes - [`04f3054`](https://github.com/shadps4-emu/shadPS4/commit/04f3054bbb0a19736acb61fc5f8740d7833c4143) even more simplification for context saving ### 📊 Changes **12 files changed** (+234 additions, -146 deletions) <details> <summary>View changed files</summary> 📝 `src/common/debug.h` (+3 -0) 📝 `src/core/debug_state.cpp` (+44 -24) 📝 `src/core/debug_state.h` (+6 -2) 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+20 -16) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+1 -1) 📝 `src/video_core/amdgpu/liverpool.cpp` (+120 -84) 📝 `src/video_core/amdgpu/liverpool.h` (+21 -4) 📝 `src/video_core/renderer_vulkan/vk_pipeline_cache.cpp` (+5 -4) 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+3 -3) 📝 `src/video_core/renderer_vulkan/vk_shader_hle.cpp` (+9 -7) 📝 `src/video_core/renderer_vulkan/vk_shader_hle.h` (+1 -1) 📝 `src/video_core/texture_cache/tile_manager.cpp` (+1 -0) </details> ### 📄 Description A bit of refactoring plus fixes for: - ring read pointer update - Gnm ASC events notification - Coroutines CS context switching - Tracy fiber markers --- <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:58 +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#2302
No description provided.