GS: Remove unused vertex types

This commit is contained in:
Stenzek 2024-01-08 22:37:19 +10:00 committed by Connor McLaughlin
parent 14426a7b45
commit ad8294e521
1 changed files with 2 additions and 12 deletions

View File

@ -8,8 +8,6 @@
#include "GS/Renderers/HW/GSVertexHW.h" #include "GS/Renderers/HW/GSVertexHW.h"
#include "GS/Renderers/SW/GSVertexSW.h" #include "GS/Renderers/SW/GSVertexSW.h"
#pragma pack(push, 1)
struct alignas(32) GSVertex struct alignas(32) GSVertex
{ {
union union
@ -51,10 +49,7 @@ struct alignas(32) GSVertex
#endif #endif
}; };
struct GSVertexP static_assert(sizeof(GSVertex) == 32);
{
GSVector4 p;
};
struct alignas(32) GSVertexPT1 struct alignas(32) GSVertexPT1
{ {
@ -64,10 +59,5 @@ struct alignas(32) GSVertexPT1
union { u32 c; struct { u8 r, g, b, a; }; }; union { u32 c; struct { u8 r, g, b, a; }; };
}; };
struct GSVertexPT2 static_assert(sizeof(GSVertexPT1) == sizeof(GSVertex));
{
GSVector4 p;
GSVector2 t[2];
};
#pragma pack(pop)