8 .local_group_size(16, 16)
9 .push_constant(Type::FLOAT,
"shutter_speed")
10 .sampler(0, ImageType::FLOAT_2D,
"input_tx")
11 .storage_buf(0, Qualifier::READ_WRITE,
"uint",
"tile_indirection_buf[]")
12 .compute_source(
"compositor_motion_blur_max_velocity_dilate.glsl")
13 .do_static_compilation(
true);
16 .local_group_size(16, 16)
17 .push_constant(Type::INT,
"samples_count")
18 .push_constant(Type::FLOAT,
"shutter_speed")
19 .sampler(0, ImageType::FLOAT_2D,
"input_tx")
20 .sampler(1, ImageType::FLOAT_2D,
"depth_tx")
21 .sampler(2, ImageType::FLOAT_2D,
"velocity_tx")
22 .sampler(3, ImageType::FLOAT_2D,
"max_velocity_tx")
23 .storage_buf(0, Qualifier::READ,
"uint",
"tile_indirection_buf[]")
24 .image(0,
GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D,
"output_img")
25 .compute_source(
"compositor_motion_blur.glsl")
26 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)