Fix primitive id in shader gen
Fixes Dark Souls
This commit is contained in:
parent
d5502b02b1
commit
04c0090653
2 changed files with 2 additions and 1 deletions
|
@ -392,6 +392,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|||
context.AppendLine("float4 position [[position, invariant]];");
|
||||
context.AppendLine("bool front_facing [[front_facing]];");
|
||||
context.AppendLine("float2 point_coord [[point_coord]];");
|
||||
context.AppendLine("uint primitive_id [[primitive_id]];");
|
||||
}
|
||||
|
||||
if (context.Definitions.IaIndexing)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue