30 #define FASTUIDRAW_PAINTER_NUMBER_CONTEXT_TEXTURES 50 #define FASTUIDRAW_SUPPORT_BINDLESS_TEXTURE 60 #define FASTUIDRAW_BINDLESS_HANDLE_UVEC2 69 #define FASTUIDRAW_BINDLESS_HANDLE_128U 78 #define fastuidraw_fetch_data(X) 86 #ifdef FASTUIDRAW_PAINTER_USE_DATA_TBO 88 FASTUIDRAW_LAYOUT_BINDING(FASTUIDRAW_PAINTER_STORE_BINDING) uniform usamplerBuffer fastuidraw_painterStore_tbo;
89 #define fastuidraw_fetch_data(block) texelFetch(fastuidraw_painterStore_tbo, int(block)) 91 #elif defined(FASTUIDRAW_PAINTER_USE_DATA_SSBO) 93 FASTUIDRAW_LAYOUT_BINDING_ARGS(FASTUIDRAW_PAINTER_STORE_BINDING, std430) restrict readonly buffer fastuidraw_painterStore_ssbo
95 uvec4 fastuidraw_painterStore[];
97 #define fastuidraw_fetch_data(block) fastuidraw_painterStore[int(block)] 99 #elif defined(FASTUIDRAW_PAINTER_USE_DATA_UBO) 101 FASTUIDRAW_LAYOUT_BINDING_ARGS(FASTUIDRAW_PAINTER_STORE_BINDING, std140) uniform fastuidraw_painterStore_ubo
103 uvec4 fastuidraw_painterStore[FASTUIDRAW_PAINTER_DATA_STORE_ARRAY_SIZE];
105 #define fastuidraw_fetch_data(block) fastuidraw_painterStore[int(block)] uniform sampler2D fastuidraw_context_texture[FASTUIDRAW_PAINTER_NUMBER_CONTEXT_TEXTURES]
vecN< uint32_t, 4 > uvec4
#define FASTUIDRAW_PAINTER_NUMBER_CONTEXT_TEXTURES