mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2476] [MERGED] Handle compute packets that are split between the ends of two command buffers #2763
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2763
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2476
Author: @kalaposfos13
Created: 2/18/2025
Status: ✅ Merged
Merged: 3/25/2025
Merged by: @georgemoralis
Base:
main← Head:bridge-split-cmd-buffers📝 Commits (6)
b58199eSquashed initial implementationebcd42aLogging for checking if buffers are memory contiguouse7814f4Add check to see if first instruction is valid in the next buffer to avoid false positives6820bd9Oofa0f096fReplace old code with IndecisiveTurtle's new, better implementationa564f10Addunlikelykeyword to the split packet handling branches📊 Changes
2 files changed (+40 additions, -18 deletions)
View changed files
📝
src/video_core/amdgpu/liverpool.cpp(+36 -17)📝
src/video_core/amdgpu/liverpool.h(+4 -1)📄 Description
For some reason P.T. submits compute command buffers that are not aligned at instruction ends, so some instructions end up having data in two buffers. This PR fixes the issue, by doing the following:
If any of these fail, we proceed to handle the new buffer as normal.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.