[PR #1815] [CLOSED] Handle MEM_SEMAPHORE PM4 packets #2324

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1815
Author: @mikusp
Created: 12/18/2024
Status: Closed

Base: mainHead: mem_semaphore_pm4


📝 Commits (3)

  • 8350927 Define a data structure for MEM_SEMAPHORE PM4 command
  • 2c1aa0f Implement MEM_SEMAPHORE as a global pipeline barrier
  • 715d73b Implement MEM_SEMAPHORE as a global pipeline barrier

📊 Changes

4 files changed (+94 additions, -0 deletions)

View changed files

📝 src/video_core/amdgpu/liverpool.cpp (+37 -0)
📝 src/video_core/amdgpu/pm4_cmds.h (+43 -0)
📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+13 -0)
📝 src/video_core/renderer_vulkan/vk_rasterizer.h (+1 -0)

📄 Description

Implements MEM_SEMAPHORE as a global barrier in the pipeline, that is probably not optimal from the performance perspective, but allows games to process further.

If you have any comments let me know and I'll try to fix


🔄 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/1815 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 12/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mem_semaphore_pm4` --- ### 📝 Commits (3) - [`8350927`](https://github.com/shadps4-emu/shadPS4/commit/83509271ca1fc3cbc6773077e6ff12f45ce36860) Define a data structure for MEM_SEMAPHORE PM4 command - [`2c1aa0f`](https://github.com/shadps4-emu/shadPS4/commit/2c1aa0fb56da061f8425a6892604290019985aaf) Implement MEM_SEMAPHORE as a global pipeline barrier - [`715d73b`](https://github.com/shadps4-emu/shadPS4/commit/715d73b08fdefde3e14b6740c8735aba5b7e2cd1) Implement MEM_SEMAPHORE as a global pipeline barrier ### 📊 Changes **4 files changed** (+94 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/amdgpu/liverpool.cpp` (+37 -0) 📝 `src/video_core/amdgpu/pm4_cmds.h` (+43 -0) 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+13 -0) 📝 `src/video_core/renderer_vulkan/vk_rasterizer.h` (+1 -0) </details> ### 📄 Description Implements MEM_SEMAPHORE as a global barrier in the pipeline, that is probably not optimal from the performance perspective, but allows games to process further. If you have any comments let me know and I'll try to fix --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:04 +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#2324
No description provided.