mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2129] [MERGED] shader_recompiler: Remove AMD native CubeFaceCoord. #2502
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#2502
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/2129
Author: @squidbus
Created: 1/11/2025
Status: ✅ Merged
Merged: 1/11/2025
Merged by: @squidbus
Base:
main← Head:remove-amd-cubecoord📝 Commits (1)
c583d86shader_recompiler: Remove AMD native CubeFaceCoord.📊 Changes
6 files changed (+10 additions, -37 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_image.cpp(+0 -8)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+0 -1)📝
src/shader_recompiler/frontend/translate/vector_alu.cpp(+10 -22)📝
src/shader_recompiler/ir/ir_emitter.cpp(+0 -4)📝
src/shader_recompiler/ir/ir_emitter.h(+0 -1)📝
src/shader_recompiler/ir/opcodes.inc(+0 -1)📄 Description
AMD's SPIR-V
CubeFaceCoorddoes not seem to be equivalent tov_cubesc_f32/v_cubetc_f32, rather it seems to include some of the additional transformations typically done on those instructions' outputs after. So we can't use it as a native implementation for those instructions.Should fix some Bloodborne shadow issues in first area remaining on AMD GPUs, need someone with AMD to test and confirm.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.