mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #871] [MERGED] shader_recompiler: Use correct integer type for OpImageWrite. #1812
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#1812
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/871
Author: @squidbus
Created: 9/11/2024
Status: ✅ Merged
Merged: 9/11/2024
Merged by: @raphaelthegreat
Base:
main← Head:image-type📝 Commits (1)
47e5717shader_recompiler: Use correct integer type for OpImageWrite.📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+1 -1)📄 Description
PR https://github.com/shadps4-emu/shadPS4/pull/837 changed the integer type for OpImageWrite from U32 to S32, which introduced the following validation error when the image type is U32:
Instead, use
buffer.result_typewhich is already either U32[4] or S32[4] depending on the image sampled type.Fixes regressions reported in https://github.com/shadps4-emu/shadPS4/issues/869
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.