mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-02 14:32:07 +01:00
Dont set Vertex Attributes for now
This commit is contained in:
parent
e4a14dd23a
commit
e8a2637d46
1 changed files with 5 additions and 5 deletions
|
@ -613,11 +613,11 @@ namespace Ryujinx.Graphics.Metal
|
||||||
if (!vertexAttribs[i].IsZero)
|
if (!vertexAttribs[i].IsZero)
|
||||||
{
|
{
|
||||||
// TODO: Format should not be hardcoded
|
// TODO: Format should not be hardcoded
|
||||||
var attrib = _vertexDescriptor.Attributes.Object((ulong)i);
|
// var attrib = _vertexDescriptor.Attributes.Object((ulong)i);
|
||||||
attrib.Format = MTLVertexFormat.Float4;
|
// attrib.Format = MTLVertexFormat.Float4;
|
||||||
attrib.BufferIndex = (ulong)vertexAttribs[i].BufferIndex;
|
// attrib.BufferIndex = (ulong)vertexAttribs[i].BufferIndex;
|
||||||
attrib.Offset = (ulong)vertexAttribs[i].Offset;
|
// attrib.Offset = (ulong)vertexAttribs[i].Offset;
|
||||||
_vertexDescriptor.Attributes.SetObject(attrib, (ulong)i);
|
// _vertexDescriptor.Attributes.SetObject(attrib, (ulong)i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue