metal: initial (bad/slow) setShader tracking

This commit is contained in:
Alex Szpakowski
2021-03-29 18:28:06 -03:00
parent 3a1c85c13e
commit aad0810e11
5 changed files with 45 additions and 3 deletions
+2
View File
@@ -371,6 +371,8 @@ struct VertexAttributes
}
void setCommonFormat(CommonFormat format, uint8 bufferindex);
bool operator == (const VertexAttributes &other) const;
};
size_t getFormatStride(CommonFormat format);