Blender V5.0
compositor_map_uv_infos.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)
9SAMPLER(0, sampler2D, input_tx)
10SAMPLER(1, sampler2D, uv_tx)
11IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
13
14GPU_SHADER_CREATE_INFO(compositor_map_uv)
15ADDITIONAL_INFO(compositor_map_uv_shared)
16COMPUTE_SOURCE("compositor_map_uv.glsl")
17DEFINE_VALUE("SAMPLER_FUNCTION", "texture")
20
21GPU_SHADER_CREATE_INFO(compositor_map_uv_bicubic)
22ADDITIONAL_INFO(compositor_map_uv_shared)
23COMPUTE_SOURCE("compositor_map_uv.glsl")
24DEFINE_VALUE("SAMPLER_FUNCTION", "texture_bicubic")
27
28GPU_SHADER_CREATE_INFO(compositor_map_uv_anisotropic)
29ADDITIONAL_INFO(compositor_map_uv_shared)
30COMPUTE_SOURCE("compositor_map_uv_anisotropic.glsl")
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define SAMPLER(slot, type, name)
#define ADDITIONAL_INFO(info_name)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()
#define DEFINE_VALUE(name, value)
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D