Blender V4.5
compositor_split_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_split_shared)
9PUSH_CONSTANT(float, split_ratio)
10SAMPLER(0, sampler2D, first_image_tx)
11SAMPLER(1, sampler2D, second_image_tx)
12IMAGE(0, GPU_RGBA16F, write, image2D, output_img)
13COMPUTE_SOURCE("compositor_split.glsl")
15
16GPU_SHADER_CREATE_INFO(compositor_split_horizontal)
17ADDITIONAL_INFO(compositor_split_shared)
18DEFINE("SPLIT_HORIZONTAL")
21
22GPU_SHADER_CREATE_INFO(compositor_split_vertical)
23ADDITIONAL_INFO(compositor_split_shared)
24DEFINE("SPLIT_VERTICAL")
@ GPU_RGBA16F
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D
#define SAMPLER(slot, type, name)
#define ADDITIONAL_INFO(info_name)
#define PUSH_CONSTANT(type, name)
#define DEFINE(name)
#define GPU_SHADER_CREATE_INFO(_info)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define GPU_SHADER_CREATE_END()
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()