mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #1676] [MERGED] recompiler: fixed fragment shader built-in attribute access #2241
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#2241
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/1676
Author: @roamic
Created: 12/6/2024
Status: ✅ Merged
Merged: 12/6/2024
Merged by: @raphaelthegreat
Base:
main← Head:fix-fs-inputs📝 Commits (3)
ceeca3drecompiler: fixed fragment shader built-in attribute accessdcf6597handle en/addr separately81a5062handle other registers as well📊 Changes
4 files changed (+101 additions, -9 deletions)
View changed files
📝
src/shader_recompiler/frontend/translate/translate.cpp(+67 -8)📝
src/shader_recompiler/runtime_info.h(+4 -0)📝
src/video_core/amdgpu/liverpool.h(+28 -1)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+2 -0)📄 Description
Registers contain enable flags for built-in attributes that should be checked when recompiling in order to access the correct built-in.
Fixes inverted normals issue in BB that caused some artifacts on grass and mirrored objects (like dog fur).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.