mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-07 06:22:32 -07:00
Fix some shader gen problems…
This commit is contained in:
committed by
Isaac Marovitz
parent
4a30b58e0b
commit
e517cfeb8f
@@ -85,13 +85,13 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
||||
{
|
||||
funcKeyword = "vertex";
|
||||
funcName = "vertexMain";
|
||||
returnType = "VertexOutput";
|
||||
returnType = "VertexOut";
|
||||
}
|
||||
else if (stage == ShaderStage.Fragment)
|
||||
{
|
||||
funcKeyword = "fragment";
|
||||
funcName = "fragmentMain";
|
||||
returnType = "FragmentOutput";
|
||||
returnType = "FragmentOut";
|
||||
}
|
||||
else if (stage == ShaderStage.Compute)
|
||||
{
|
||||
@@ -106,7 +106,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
||||
}
|
||||
else if (stage == ShaderStage.Fragment)
|
||||
{
|
||||
args = args.Prepend("FragmentIn in").ToArray();
|
||||
args = args.Prepend("VertexOut in").ToArray();
|
||||
}
|
||||
else if (stage == ShaderStage.Compute)
|
||||
{
|
||||
|
Reference in New Issue
Block a user