mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-13 16:32:45 -05:00
Minor shader fixes
This commit is contained in:
@@ -975,7 +975,8 @@ namespace Ryujinx.Graphics.Gal.Shader
|
||||
switch (Node)
|
||||
{
|
||||
case ShaderIrOperAbuf Abuf:
|
||||
return Abuf.Offs == GlslDecl.VertexIdAttr
|
||||
return Abuf.Offs == GlslDecl.VertexIdAttr ||
|
||||
Abuf.Offs == GlslDecl.InstanceIdAttr
|
||||
? OperType.I32
|
||||
: OperType.F32;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user