[PR #120] [MERGED] gnmdriver: basic functionality extension #1310

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/120
Author: @psucien
Created: 5/1/2024
Status: Merged
Merged: 5/1/2024
Merged by: @raphaelthegreat

Base: mainHead: gnm_dirver/basic_functionality


📝 Commits (1)

  • 854002d core: libraries: gnmdriver: basic functionality extension

📊 Changes

5 files changed (+403 additions, -186 deletions)

View changed files

📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+264 -92)
📝 src/core/libraries/gnmdriver/gnmdriver.h (+21 -16)
📝 src/video_core/amdgpu/liverpool.cpp (+12 -12)
📝 src/video_core/amdgpu/pm4_cmds.h (+104 -66)
📝 src/video_core/amdgpu/pm4_opcodes.h (+2 -0)

📄 Description

This adds implementation for the next commonly used driver functions:

  • sceGnmComputeWaitOnAddress
  • sceGnmDispatchDirect
  • sceGnmDispatchIndirect
  • sceGnmDrawIndexOffset
  • sceGnmInsertPopMarker
  • sceGnmInsertPushMarker
  • sceGnmUpdatePsShader350
  • sceGnmUpdateVsShader

Functions, related to HW state initialization and indirect draw calls, are subject to the next updates of this PR.
Submission related functionality will be re-worked in a separate PR as required changes in the GPU frontend.


🔄 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/120 **Author:** [@psucien](https://github.com/psucien) **Created:** 5/1/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `gnm_dirver/basic_functionality` --- ### 📝 Commits (1) - [`854002d`](https://github.com/shadps4-emu/shadPS4/commit/854002d8765ecb8652980e1b65db431307e373e8) core: libraries: gnmdriver: basic functionality extension ### 📊 Changes **5 files changed** (+403 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+264 -92) 📝 `src/core/libraries/gnmdriver/gnmdriver.h` (+21 -16) 📝 `src/video_core/amdgpu/liverpool.cpp` (+12 -12) 📝 `src/video_core/amdgpu/pm4_cmds.h` (+104 -66) 📝 `src/video_core/amdgpu/pm4_opcodes.h` (+2 -0) </details> ### 📄 Description This adds implementation for the next commonly used driver functions: * `sceGnmComputeWaitOnAddress` * `sceGnmDispatchDirect` * `sceGnmDispatchIndirect` * `sceGnmDrawIndexOffset` * `sceGnmInsertPopMarker` * `sceGnmInsertPushMarker` * `sceGnmUpdatePsShader350` * `sceGnmUpdateVsShader` Functions, related to HW state initialization and indirect draw calls, are subject to the next updates of this PR. Submission related functionality will be re-worked in a separate PR as required changes in the GPU frontend. --- <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:02 +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#1310
No description provided.