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 .push_constant(Type::BOOL,
"display_transform")
18 .push_constant(Type::BOOL,
"overlay")
20 .sampler(0, ImageType::FLOAT_2D,
"image_texture")
21 .sampler(1, ImageType::FLOAT_2D,
"overlays_texture")
22 .vertex_source(
"gpu_shader_2D_image_vert.glsl")
23 .fragment_source(
"gpu_shader_image_overlays_merge_frag.glsl")
24 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)