Blender V5.0
compositor_van_vliet_gaussian_blur_infos.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6
7GPU_SHADER_CREATE_INFO(compositor_van_vliet_gaussian_blur)
9PUSH_CONSTANT(float2, first_feedback_coefficients)
10PUSH_CONSTANT(float2, first_causal_feedforward_coefficients)
11PUSH_CONSTANT(float2, first_non_causal_feedforward_coefficients)
12PUSH_CONSTANT(float2, second_feedback_coefficients)
13PUSH_CONSTANT(float2, second_causal_feedforward_coefficients)
14PUSH_CONSTANT(float2, second_non_causal_feedforward_coefficients)
15PUSH_CONSTANT(float, first_causal_boundary_coefficient)
16PUSH_CONSTANT(float, first_non_causal_boundary_coefficient)
17PUSH_CONSTANT(float, second_causal_boundary_coefficient)
18PUSH_CONSTANT(float, second_non_causal_boundary_coefficient)
19SAMPLER(0, sampler2D, input_tx)
20IMAGE(0, SFLOAT_16_16_16_16, write, image2D, first_causal_output_img)
21IMAGE(1, SFLOAT_16_16_16_16, write, image2D, first_non_causal_output_img)
22IMAGE(2, SFLOAT_16_16_16_16, write, image2D, second_causal_output_img)
23IMAGE(3, SFLOAT_16_16_16_16, write, image2D, second_non_causal_output_img)
24COMPUTE_SOURCE("compositor_van_vliet_gaussian_blur.glsl")
27
28GPU_SHADER_CREATE_INFO(compositor_van_vliet_gaussian_blur_sum)
29LOCAL_GROUP_SIZE(16, 16)
30SAMPLER(0, sampler2D, first_causal_input_tx)
31SAMPLER(1, sampler2D, first_non_causal_input_tx)
32SAMPLER(2, sampler2D, second_causal_input_tx)
33SAMPLER(3, sampler2D, second_non_causal_input_tx)
34IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
35COMPUTE_SOURCE("compositor_van_vliet_gaussian_blur_sum.glsl")
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define SAMPLER(slot, type, name)
#define PUSH_CONSTANT(type, name)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D