mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3225] [MERGED] shader_recompiler: Implement ff1 with subgroup ops #3318
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#3318
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/3225
Author: @raphaelthegreat
Created: 7/10/2025
Status: ✅ Merged
Merged: 7/10/2025
Merged by: @georgemoralis
Base:
main← Head:readlane2📝 Commits (1)
aaf1da1shader_recompiler: Implement ff1 with subgroup ops📊 Changes
8 files changed (+27 additions, -14 deletions)
View changed files
📝
externals/sirit(+1 -1)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+2 -0)📝
src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp(+8 -0)📝
src/shader_recompiler/frontend/translate/scalar_alu.cpp(+3 -2)📝
src/shader_recompiler/ir/ir_emitter.cpp(+8 -0)📝
src/shader_recompiler/ir/ir_emitter.h(+2 -0)📝
src/shader_recompiler/ir/opcodes.inc(+2 -0)📝
src/shader_recompiler/ir/passes/readlane_elimination_pass.cpp(+1 -11)📄 Description
My other PR was snipe merged before I had a chance to present the alternate implementation :/ https://github.com/shadps4-emu/shadPS4/pull/3224#issuecomment-3056958483
This approach is more faithful to original source code and might work better if ff1 is used with conditions other than current exec. I don't know if it's better than the other one though
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.