Metal changes

This commit is contained in:
Dynamitos committed 2024-08-26 21:50:17 +02:00
1 parent 19a2423953
commit ab721ec953
22 files changed
+568 -108063

No files matched your search

+3 -1
View File
@@ -2,7 +2,7 @@ import Common;
import VertexData;
import MaterialParameter;
struct StaticMeshVertexData : IVertexData
struct StaticMeshVertexData
{
VertexAttributes getAttributes(uint index)
{
@@ -27,3 +27,5 @@ struct StaticMeshVertexData : IVertexData
StructuredBuffer<float4> color;
StructuredBuffer<float2> texCoords[MAX_TEXCOORDS];
};
layout(set=1)
ParameterBlock<StaticMeshVertexData> pVertexData;