mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #4053] [CLOSED] Fix fragment StencilRef export path in SPIR-V backend #3900
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#3900
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/4053
Author: @OhLookWeGOTit
Created: 2/19/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (5)
e02dee6Fix fragment StencilRef export path in SPIR-V backend892b069Merge branch 'main' of https://github.com/shadps4-emu/shadPS42a1f4b0Fix fragment StencilRef export path in SPIR-V backendfbb017bFix clang-format in StencilRef export path53c3bbfMerge branch 'main' into main📊 Changes
8 files changed (+24 additions, -2 deletions)
View changed files
📝
externals/CLI11(+1 -1)📝
externals/sdl3(+1 -1)📝
src/shader_recompiler/backend/spirv/emit_spirv.cpp(+5 -0)📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+10 -0)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+4 -0)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.h(+1 -0)📝
src/shader_recompiler/profile.h(+1 -0)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+1 -0)📄 Description
The issue was that Stencil Ref writes were going through a broken SPIR-V path: it used an invalid access chain and could try writing to an output that wasn’t actually declared. So even when a game asked to export stencil ref, behavior wasn’t reliable.
This fixes some regressions in Dragon Engine titles started from v0.11.0 and Yakuza 6 Blue Jacket demo crashes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.