[mtl canvas] rearranged triangle data for better packing

This commit is contained in:
Martin Fouilleul 2023-03-13 20:20:09 +01:00
parent 1b3583cc6d
commit c9a5b3d52d
1 changed files with 4 additions and 5 deletions

View File

@ -35,16 +35,15 @@ typedef struct mg_shape
typedef struct mg_triangle_data
{
vector_int2 p0;
vector_int2 p1;
vector_int2 p2;
vector_float4 cubic0;
vector_float4 cubic1;
vector_float4 cubic2;
vector_int4 box;
vector_int2 p0;
vector_int2 p1;
vector_int2 p2;
int bias0;
int bias1;
int bias2;