mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #2123] [MERGED] shader_recompiler: Improvements to buffer addressing implementation. #2500
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#2500
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/2123
Author: @squidbus
Created: 1/11/2025
Status: ✅ Merged
Merged: 1/17/2025
Merged by: @squidbus
Base:
main← Head:buffers📝 Commits (1)
c55647cshader_recompiler: Improvements to buffer addressing implementation.📊 Changes
5 files changed (+149 additions, -83 deletions)
View changed files
📝
src/shader_recompiler/frontend/translate/vector_memory.cpp(+55 -41)📝
src/shader_recompiler/ir/passes/constant_propagation_pass.cpp(+9 -3)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+64 -39)📝
src/shader_recompiler/specialization.h(+11 -0)📝
src/video_core/amdgpu/resource.h(+10 -0)📄 Description
Adds a new common buffer addressing implementation, accounting for all of the different components:
index_strideandelement_sizewhich need to be converted into their actual value from bit field.swizzle_enableadded to specialization.And misc related improvements:
Fixes some shaders in CUSA05637 that use swizzle addressing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.