1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-31 04:26:27 -05:00

Minor shader fixes

This commit is contained in:
gdkchan
2018-06-12 09:26:49 -03:00
parent 133082cb6d
commit 9176180abb
3 changed files with 5 additions and 3 deletions

View File

@@ -159,7 +159,8 @@ namespace Ryujinx.Graphics.Gal.Shader
case ShaderIrOperAbuf Abuf:
{
//This is a built-in input variable.
if (Abuf.Offs == VertexIdAttr)
if (Abuf.Offs == VertexIdAttr ||
Abuf.Offs == InstanceIdAttr)
{
break;
}