Blender V4.3
compositor_map_uv_info.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6
7GPU_SHADER_CREATE_INFO(compositor_map_uv_shared)
8 .local_group_size(16, 16)
9 .sampler(0, ImageType::FLOAT_2D, "input_tx")
10 .sampler(1, ImageType::FLOAT_2D, "uv_tx")
11 .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img");
12
13GPU_SHADER_CREATE_INFO(compositor_map_uv_anisotropic)
14 .additional_info("compositor_map_uv_shared")
15 .push_constant(Type::FLOAT, "gradient_attenuation_factor")
16 .compute_source("compositor_map_uv_anisotropic.glsl")
17 .do_static_compilation(true);
18
19GPU_SHADER_CREATE_INFO(compositor_map_uv_nearest_neighbour)
20 .additional_info("compositor_map_uv_shared")
21 .compute_source("compositor_map_uv_nearest_neighbour.glsl")
22 .do_static_compilation(true);
input_tx GPU_RGBA16F
#define GPU_SHADER_CREATE_INFO(_info)