Skip to content

rsx: Fix iterating subdraws with mid-range primitive barriers - #17081

Merged
kd-11 merged 5 commits into
RPCS3:masterfrom
kd-11:vk-rework
Apr 23, 2025
Merged

kd-11 merged 5 commits into
RPCS3:masterfrom
kd-11:vk-rework

Conversation

@kd-11

@kd-11 kd-11 commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

Previously execute_pipeline_dependencies was the sole consumer of the barrier iterator and advanced it during processing. This works great but when optimizing other routines that might also need to process barriers we end up reading a stale iterator.
Also applies a minor optimization to get rid of some memory allocations which were being done per-draw-call which is not great for performance.

Closes #17079

@kd-11
kd-11 marked this pull request as draft April 23, 2025 00:36
@kd-11

kd-11 commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

I see some more issues that need fixing.

@kd-11
kd-11 marked this pull request as ready for review April 23, 2025 11:58
@kd-11
kd-11 merged commit c401c0f into RPCS3:master Apr 23, 2025
@bigol83

bigol83 commented Apr 23, 2025

Copy link
Copy Markdown

Crashing has been fixed, but there is that flickering graphics i showed in a video in earlier post that appear as soon as the camera shows the chopper. I checked with a 4 days old build and those were not there. Should i open another ticket?

@kd-11

kd-11 commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

@bigol83 Yes. Also include a video of the issue and steps to recreate it. I wasn't able to see any flickering in the desert opening area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Metal Gear Solid 4 hanging and freezing

2 participants