mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
Support flat interpolation qualifier on shaders (#915)
This commit is contained in:
parent
7b0576db71
commit
a1a5341baf
|
@ -100,7 +100,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
|
||||
switch (op.Mode)
|
||||
{
|
||||
case InterpolationMode.Pass: iq = InterpolationQualifier.NoPerspective; break;
|
||||
case InterpolationMode.Constant: iq = InterpolationQualifier.Flat; break;
|
||||
case InterpolationMode.Pass: iq = InterpolationQualifier.NoPerspective; break;
|
||||
}
|
||||
|
||||
Operand srcA = Attribute(op.AttributeOffset, iq);
|
||||
|
|
Loading…
Reference in a new issue