From f04853ee105755732f4db507c09396cca26b0263 Mon Sep 17 00:00:00 2001 From: Thog Date: Fri, 7 Dec 2018 16:50:18 +0100 Subject: [PATCH] Fix shader build issues with sampler1DShadow and texture --- Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs index ebb017d831..d2cc9e2bf9 100644 --- a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs +++ b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs @@ -1371,7 +1371,7 @@ namespace Ryujinx.Graphics.Gal.Shader case 1: if (HasDepth) { - return $"vec2({GetOperExpr(Op, Meta.Coordinates[0])}{DepthArgument})"; + return $"vec3({GetOperExpr(Op, Meta.Coordinates[0])}, 0.0{DepthArgument})"; } return GetOperExpr(Op, Meta.Coordinates[0]);