mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 16:25:45 +00:00
Support flat interpolation qualifier on shaders (#915)
This commit is contained in:
parent
7b0576db71
commit
a1a5341baf
1 changed files with 2 additions and 1 deletions
|
@ -100,6 +100,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||||
|
|
||||||
switch (op.Mode)
|
switch (op.Mode)
|
||||||
{
|
{
|
||||||
|
case InterpolationMode.Constant: iq = InterpolationQualifier.Flat; break;
|
||||||
case InterpolationMode.Pass: iq = InterpolationQualifier.NoPerspective; break;
|
case InterpolationMode.Pass: iq = InterpolationQualifier.NoPerspective; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue