Fix shader build issues with sampler1DShadow and texture
This commit is contained in:
parent
44ea0787d4
commit
f04853ee10
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Reference in a new issue