13 .vertex_out(smooth_tex_coord_interp_iface)
14 .fragment_out(0, Type::VEC4,
"fragColor")
15 .push_constant(Type::MAT4,
"ModelViewProjectionMatrix")
16 .push_constant(Type::VEC4,
"color")
17 .push_constant(Type::VEC4,
"rect_icon")
18 .push_constant(Type::VEC4,
"rect_geom")
19 .sampler(0, ImageType::FLOAT_2D,
"image")
20 .vertex_source(
"gpu_shader_2D_image_rect_vert.glsl")
21 .fragment_source(
"gpu_shader_image_color_frag.glsl")
22 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)