Blender V5.3
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
5#ifdef GPU_SHADER
6# pragma once
7# include "gpu_shader_compat.hh"
8#endif
9
11
12GPU_SHADER_CREATE_INFO(compositor_deriche_gaussian_blur)
13LOCAL_GROUP_SIZE(128, 2)
14PUSH_CONSTANT(float4, causal_feedforward_coefficients)
15PUSH_CONSTANT(float4, non_causal_feedforward_coefficients)
16PUSH_CONSTANT(float4, feedback_coefficients)
17PUSH_CONSTANT(float, causal_boundary_coefficient)
18PUSH_CONSTANT(float, non_causal_boundary_coefficient)
19SAMPLER(0, sampler2D, input_tx)
20IMAGE(0, SFLOAT_16_16_16_16, write, image2D, causal_output_img)
21IMAGE(1, SFLOAT_16_16_16_16, write, image2D, non_causal_output_img)
22COMPUTE_SOURCE("compositor_deriche_gaussian_blur.glsl")
25
26GPU_SHADER_CREATE_INFO(compositor_deriche_gaussian_blur_sum)
27LOCAL_GROUP_SIZE(16, 16)
28SAMPLER(0, sampler2D, causal_input_tx)
29SAMPLER(1, sampler2D, non_causal_input_tx)
30IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
31COMPUTE_SOURCE("compositor_deriche_gaussian_blur_sum.glsl")
@ SFLOAT_16_16_16_16
#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