Ryujinx/Ryujinx.Graphics.Gpu
riperiperi f92650fcff
SPIR-V: Initialize undefined variables with 0 (#3526)
* 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>
2022-08-02 08:11:10 +02:00
..
Engine Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Image Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Memory Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Shader SPIR-V: Initialize undefined variables with 0 (#3526) 2022-08-02 08:11:10 +02:00
Synchronization When waiting on CPU, do not return a time out error from EventWait (#2780) 2021-11-01 19:10:02 -03:00
ClassId.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
Constants.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
GpuChannel.cs Add a sampler pool cache and improve texture pool cache (#3487) 2022-07-27 21:07:48 -03:00
GpuContext.cs Prefetch capabilities before spawning translation threads. (#3338) 2022-05-14 11:58:33 -03:00
GraphicsConfig.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Ryujinx.Graphics.Gpu.csproj Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Window.cs Avalonia UI - Part 1 (#3270) 2022-05-15 13:30:15 +02:00