Blender V5.0
compositor_deriche_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_deriche_gaussian_blur)
9PUSH_CONSTANT(float4, causal_feedforward_coefficients)
10PUSH_CONSTANT(float4, non_causal_feedforward_coefficients)
11PUSH_CONSTANT(float4, feedback_coefficients)
12PUSH_CONSTANT(float, causal_boundary_coefficient)
13PUSH_CONSTANT(float, non_causal_boundary_coefficient)
14SAMPLER(0, sampler2D, input_tx)
15IMAGE(0, SFLOAT_16_16_16_16, write, image2D, causal_output_img)
16IMAGE(1, SFLOAT_16_16_16_16, write, image2D, non_causal_output_img)
17COMPUTE_SOURCE("compositor_deriche_gaussian_blur.glsl")
20
21GPU_SHADER_CREATE_INFO(compositor_deriche_gaussian_blur_sum)
22LOCAL_GROUP_SIZE(16, 16)
23SAMPLER(0, sampler2D, causal_input_tx)
24SAMPLER(1, sampler2D, non_causal_input_tx)
25IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
26COMPUTE_SOURCE("compositor_deriche_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