mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2973] [MERGED] shader_recompiler: Fix buffer type reading from step rate attribute. #3117
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#3117
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/2973
Author: @squidbus
Created: 5/22/2025
Status: ✅ Merged
Merged: 5/22/2025
Merged by: @squidbus
Base:
main← Head:fix-step-rate-read📝 Commits (1)
7c2ad45shader_recompiler: Fix buffer type reading from step rate attribute.📊 Changes
1 file changed (+12 additions, -7 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+12 -7)📄 Description
EmitReadConstBufferis reading asU32when we needF32for this case, causing a crash since the buffer is not defined with theU32alias. Fix by separating out a template function which can vary the alias.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.