mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[GH-ISSUE #4073] [APP BUG]: Like a Dragon: Infinite Wealth - Crashes with EmitSetAttribute StencilRef #1211
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#1211
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?
Originally created by @himanshusdas on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/4073
Checklist
Describe the Bug
When attempting to boot Like a Dragon: Infinite Wealth, the emulator crashes completely during shader translation. The crash is triggered by an unimplemented Vulkan/SPIR-V instruction when the game attempts to write to the StencilRef attribute. The console outputs a critical "Unreachable code!" exception from the GPU command processor.
Error:-
[Debug] (shadPS4:GpuCommandProcessor) emit_spirv_context_get_set.cpp:258 EmitSetAttribute: Unreachable code! Write attribute StencilRef
[Kernel.Vmm] (pxd::file_callback) memory.cpp:575 sceKernelMemoryPoolCommit: addr = 0x187ff10000, len = 0x20000, type = 0x0, prot = 0x3, flags = 0x0
Reproduction Steps
1)Open shadPS4 version [
407d287].2)Launch Like a Dragon: Infinite Wealth (Title ID: [32137]).
3)Wait for the game to initialize the rendering/graphics engine.
4)Observe the hard crash and check the log file for the StencilRef error.
Expected Behavior
The emulator should either successfully translate the StencilRef attribute to Vulkan/SPIR-V, or safely stub/ignore the instruction without triggering a hard crash, allowing the game engine to attempt to boot further (even if it results in graphical glitches).
Specify OS Version
Windows 11
CPU
Intel core i5 -11400H
GPU
NVIDIA RTX 3050
Amount of RAM in GB
16 GB
@himanshusdas commented on GitHub (Feb 24, 2026):
This seems to be a common hurdle for modern Dragon Engine titles on shadPS4.
I'm reporting this to help track unimplemented SPIR-V instructions for higher-end PS4 titles.
@himanshusdas commented on GitHub (Feb 24, 2026):
This seems to be a common hurdle for modern Dragon Engine titles on shadPS4.
I'm reporting this to help track unimplemented SPIR-V instructions for higher-end PS4 titles.