mirror of https://github.com/PCSX2/pcsx2.git
GS: Remove unused vertex types
This commit is contained in:
parent
14426a7b45
commit
ad8294e521
|
@ -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)
|
|
||||||
|
|
Loading…
Reference in New Issue