<commit_before>//
//  yas_ui_shared_types.h
//

#pragma once

#include <simd/simd.h>

using namespace simd;

typedef struct {
    float2 position;
    float2 tex_coord;
} vertex2d_t;

typedef struct {
    float4x4 matrix;
    float4 color;
} __attribute__((aligned(256))) uniforms2d_t;<commit_msg>add vertex2d_square_t<commit_after>//
//  yas_ui_shared_types.h
//

#pragma once

#include <simd/simd.h>

using namespace simd;

typedef struct {
    float2 position;
    float2 tex_coord;
} vertex2d_t;

typedef struct { vertex2d_t v[4]; } vertex2d_square_t;

typedef struct {
    float4x4 matrix;
    float4 color;
} __attribute__((aligned(256))) uniforms2d_t;
{'fraction_non_alphanumeric': 0.1094224924012158, 'fraction_numerical': 0.0364741641337386, 'mean_word_length': 4.069230769230769, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5919256', 'n_tokens_mistral': 269, 'n_tokens_neox': 251, 'n_words': 53}