mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1097] [MERGED] shader_recompiler: Define fragment output type based on number format. #1927
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#1927
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/1097
Author: @squidbus
Created: 9/27/2024
Status: ✅ Merged
Merged: 10/1/2024
Merged by: @raphaelthegreat
Base:
main← Head:frag-out-type📝 Commits (3)
d43ded0shader_recompiler: Define fragment output type based on number format.10af2e8shader_recompiler: Fix GetAttribute SPIR-V output type.e7ffdaeshader_recompiler: Don't bitcast on SetAttribute unless integer target.📊 Changes
7 files changed (+97 additions, -38 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+52 -12)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+23 -16)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.h(+4 -3)📝
src/shader_recompiler/frontend/translate/export.cpp(+1 -1)📝
src/shader_recompiler/runtime_info.h(+8 -2)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.h(+1 -0)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+8 -4)📄 Description
EmitSetAttribute.OutputAttrPointer(currently always the same as what was hardcoded, but use the right field in case it isn't in the future).This fixes at least two shaders in CUSA16429 which were trying to output to R32Uint targets with float type, causing SPIR-V errors.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.