mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1032] [MERGED] shader_recompiler: Increase push constants user data to full capacity. #1893
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#1893
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/1032
Author: @squidbus
Created: 9/23/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @raphaelthegreat
Base:
main← Head:ud-regs📝 Commits (1)
5cd0d73shader_recompiler: Increase push constants user data to full capacity.📊 Changes
2 files changed (+10 additions, -4 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+6 -2)📝
src/shader_recompiler/info.h(+4 -2)📄 Description
PushUdthat indices don't exceed user data capacity, to prevent unnoticed memory corruption.Fixes at least one shader regressed by https://github.com/shadps4-emu/shadPS4/pull/1013 in CUSA16429 which uses 10 user data registers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.