16 .vertex_in(0, Type::float2_t,
"pos")
17 .vertex_out(fullscreen_blit_iface)
18 .fragment_out(0, Type::float4_t,
"fragColor")
19 .push_constant(Type::float2_t,
"fullscreen")
20 .push_constant(Type::float2_t,
"size")
21 .push_constant(Type::float2_t,
"dst_offset")
22 .push_constant(Type::float2_t,
"src_offset")
23 .push_constant(Type::int_t,
"mip")
24 .sampler(0, ImageType::Float2D,
"imageTexture", Frequency::PASS)
25 .vertex_source(
"gpu_shader_fullscreen_blit_vert.glsl")
26 .fragment_source(
"gpu_shader_fullscreen_blit_frag.glsl")
27 .do_static_compilation(
true);
#define GPU_SHADER_INTERFACE_INFO(_interface)
#define GPU_SHADER_CREATE_INFO(_info)