forked from Mirror/Ryujinx
f92650fcff
* 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> |
||
---|---|---|
.. | ||
CodeGen | ||
Decoders | ||
Instructions | ||
IntermediateRepresentation | ||
StructuredIr | ||
Translation | ||
AlphaTestOp.cs | ||
AttributeType.cs | ||
BufferDescriptor.cs | ||
BufferUsageFlags.cs | ||
Constants.cs | ||
IGpuAccessor.cs | ||
InputTopology.cs | ||
OutputTopology.cs | ||
Ryujinx.Graphics.Shader.csproj | ||
SamplerType.cs | ||
ShaderProgram.cs | ||
ShaderProgramInfo.cs | ||
ShaderStage.cs | ||
SupportBuffer.cs | ||
TessPatchType.cs | ||
TessSpacing.cs | ||
TextureDescriptor.cs | ||
TextureFormat.cs | ||
TextureHandle.cs | ||
TextureUsageFlags.cs |