Minor shader fixes
This commit is contained in:
parent
133082cb6d
commit
9176180abb
3 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue