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

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

#include "gpu_shader_create_info.hh"

GPU_SHADER_CREATE_INFO(compositor_projector_lens_distortion)
    .local_group_size(16, 16)
    .push_constant(Type::FLOAT, "dispersion")
    .sampler(0, ImageType::FLOAT_2D, "input_tx")
    .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img")
    .compute_source("compositor_projector_lens_distortion.glsl")
    .do_static_compilation(true);