mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2667] [MERGED] shader_recompiler: Improve divergence handling and readlane elimintation #2898
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#2898
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/2667
Author: @raphaelthegreat
Created: 3/22/2025
Status: ✅ Merged
Merged: 3/22/2025
Merged by: @raphaelthegreat
Base:
main← Head:lane-cfg-improve📝 Commits (5)
5647dc3control_flow_graph: Improve divergence handlingad63a6frecompiler: Simplify optimization passes8beb54fir_passes: Add new readlane elimination pass1ae9b74clang format2c2333ccontrol_flow_graph: Remove debug code📊 Changes
9 files changed (+210 additions, -138 deletions)
View changed files
📝
CMakeLists.txt(+1 -1)📝
src/shader_recompiler/frontend/control_flow_graph.cpp(+82 -67)📝
src/shader_recompiler/frontend/control_flow_graph.h(+1 -1)📝
src/shader_recompiler/ir/passes/constant_propagation_pass.cpp(+0 -50)📝
src/shader_recompiler/ir/passes/hull_shader_transform.cpp(+4 -0)📝
src/shader_recompiler/ir/passes/ir_passes.h(+2 -2)➕
src/shader_recompiler/ir/passes/readlane_elimination_pass.cpp(+115 -0)📝
src/shader_recompiler/ir/passes/ring_access_elimination.cpp(+2 -3)📝
src/shader_recompiler/recompiler.cpp(+3 -14)📄 Description
Resolves a bunch of issues I found, needs a lot of testing for regressions
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.