mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #1962] [MERGED] recompiler: handle reads of output variables in hull shaders #2405
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#2405
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/1962
Author: @baggins183
Created: 12/29/2024
Status: ✅ Merged
Merged: 12/29/2024
Merged by: @raphaelthegreat
Base:
main← Head:tess-output-reads📝 Commits (3)
7737115Handle output control point reads in hull shader. Might need additional barriers3e75cc6output storage classc244a97Merge branch 'shadps4-emu:main' into tess-output-reads📊 Changes
7 files changed (+38 additions, -22 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+7 -8)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+2 -0)📝
src/shader_recompiler/frontend/translate/vector_memory.cpp(+0 -4)📝
src/shader_recompiler/ir/ir_emitter.cpp(+6 -0)📝
src/shader_recompiler/ir/ir_emitter.h(+3 -0)📝
src/shader_recompiler/ir/opcodes.inc(+2 -0)📝
src/shader_recompiler/ir/passes/hull_shader_transform.cpp(+18 -10)📄 Description
Adds Inst to handle reads from output control points in hull shaders.
Also clean up some random stuff like EmitGetAttribute which is mostly unused for hull/domain other than reading tess coords.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.