softgpu: Pack vertexdata a bit better.

This reduces the BinItem size by 15%.
This commit is contained in:
Unknown W. Brackets 2022-01-19 23:17:09 -08:00
parent c9dee44cfc
commit 3e4d768e7a

View File

@ -83,10 +83,10 @@ struct VertexData {
}
ClipCoords clippos;
ScreenCoords screenpos; // TODO: Shouldn't store this ?
Vec2<float> texturecoords;
Vec4<int> color0;
Vec3<int> color1;
ScreenCoords screenpos; // TODO: Shouldn't store this ?
float fogdepth;
};