From 3e4d768e7ab038d160d53cd81c5afcd71306f84e Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 19 Jan 2022 23:17:09 -0800 Subject: [PATCH] softgpu: Pack vertexdata a bit better. This reduces the BinItem size by 15%. --- GPU/Software/TransformUnit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Software/TransformUnit.h b/GPU/Software/TransformUnit.h index 1b6f7705d6..8443a9f1fb 100644 --- a/GPU/Software/TransformUnit.h +++ b/GPU/Software/TransformUnit.h @@ -83,10 +83,10 @@ struct VertexData { } ClipCoords clippos; - ScreenCoords screenpos; // TODO: Shouldn't store this ? Vec2 texturecoords; Vec4 color0; Vec3 color1; + ScreenCoords screenpos; // TODO: Shouldn't store this ? float fogdepth; };