Welcome to mirror list, hosted at ThFree Co, Russian Federation.

compositor_directional_blur_info.hh « infos « shaders « realtime_compositor « compositor « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb9199dcd264a3e06d843ef1187f86e75ef8db1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "gpu_shader_create_info.hh"

GPU_SHADER_CREATE_INFO(compositor_directional_blur)
    .local_group_size(16, 16)
    .push_constant(Type::INT, "iterations")
    .push_constant(Type::MAT4, "inverse_transformation")
    .sampler(0, ImageType::FLOAT_2D, "input_tx")
    .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img")
    .compute_source("compositor_directional_blur.glsl")
    .do_static_compilation(true);