Blender V4.3
compositor_bokeh_blur_variable_size_info.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6
7GPU_SHADER_CREATE_INFO(compositor_bokeh_blur_variable_size)
8 .local_group_size(16, 16)
9 .push_constant(Type::FLOAT, "base_size")
10 .push_constant(Type::INT, "search_radius")
11 .sampler(0, ImageType::FLOAT_2D, "input_tx")
12 .sampler(1, ImageType::FLOAT_2D, "weights_tx")
13 .sampler(2, ImageType::FLOAT_2D, "size_tx")
14 .sampler(3, ImageType::FLOAT_2D, "mask_tx")
15 .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img")
16 .compute_source("compositor_bokeh_blur_variable_size.glsl")
17 .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)