Fix ZN flags set for shader instructions using RZ.CC dest (#2147)

* Fix ZN flags set for shader instructions using RZ.CC dest

* Shader cache version bump and nits
This commit is contained in:
gdkchan 2021-03-27 18:59:05 -03:00 committed by GitHub
parent e60bae1a94
commit a0b4799f19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 14 deletions

View file

@ -91,7 +91,7 @@ namespace Ryujinx.Graphics.Shader.Translation
public void PrepareForReturn()
{
if (Config.Stage == ShaderStage.Fragment)
if (!IsNonMain && Config.Stage == ShaderStage.Fragment)
{
if (Config.OmapDepth)
{