diff options
author | riperiperi <rhy3756547@hotmail.com> | 2022-08-02 08:11:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 08:11:10 +0200 |
commit | f92650fcffa69cc45899b73e14d3dc7316b05d44 (patch) | |
tree | b21ce8e99d9e728caaf75dd74876ee2c4fe66761 /Ryujinx.Horizon.Generators/Kernel/SyscallSyntaxReceiver.cs | |
parent | 712361f6e12f3f6e21858ad3a89db3cd94a8be79 (diff) |
SPIR-V: Initialize undefined variables with 0 (#3526)1.1.202
* SPIR-V: Initialize undefined variables with a value
Changes undefined values on spir-v shaders (caused by phi nodes) to be initialized instead of truly undefined.
Fixes an issue with NVIDIA gpus seemingly not liking when a variable is _potentially_ undefined. Not sure about the details at the moment.
Fixes:
- Tilt shift blur effect in Link's Awakening (bottom of the screen)
- Potentially block flickering on newer NVIDIA gpus in Splatoon 2? Needs testing.
Testing is welcome.
* Update Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Diffstat (limited to 'Ryujinx.Horizon.Generators/Kernel/SyscallSyntaxReceiver.cs')
0 files changed, 0 insertions, 0 deletions