12 .vertex_in(0, Type::VEC2,
"pos")
13 .vertex_in(1, Type::VEC2,
"texCoord")
14 .vertex_out(smooth_tex_coord_interp_iface)
15 .fragment_out(0, Type::VEC4,
"fragColor")
16 .push_constant(Type::MAT4,
"ModelViewProjectionMatrix")
17 .sampler(0, ImageType::FLOAT_2D,
"image")
18 .vertex_source(
"gpu_shader_2D_image_vert.glsl");
21 .additional_info(
"gpu_shader_2D_image_common")
22 .fragment_source(
"gpu_shader_image_frag.glsl")
23 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)