11 .vertex_in(0, Type::VEC2,
"pos")
12 .fragment_out(0, Type::VEC4,
"fragColor")
13 .push_constant(Type::MAT4,
"ModelViewProjectionMatrix")
14 .push_constant(Type::VEC4,
"color1")
15 .push_constant(Type::VEC4,
"color2")
16 .push_constant(Type::INT,
"size1")
17 .push_constant(Type::INT,
"size2")
18 .vertex_source(
"gpu_shader_2D_vert.glsl")
19 .fragment_source(
"gpu_shader_diag_stripes_frag.glsl")
20 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)