8 .local_group_size(16, 16)
9 .push_constant(Type::VEC4,
"global_adaptation_level")
10 .push_constant(Type::FLOAT,
"contrast")
11 .push_constant(Type::FLOAT,
"intensity")
12 .push_constant(Type::FLOAT,
"chromatic_adaptation")
13 .push_constant(Type::FLOAT,
"light_adaptation")
14 .push_constant(Type::VEC3,
"luminance_coefficients")
15 .sampler(0, ImageType::FLOAT_2D,
"input_tx")
16 .image(0,
GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D,
"output_img")
17 .compute_source(
"compositor_tone_map_photoreceptor.glsl")
18 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)