0
0
Fork 0
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:
gdkchan 2020-02-01 20:18:58 -03:00 committed by GitHub
parent 7b0576db71
commit a1a5341baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }