Blender V5.0
compositor_split_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_split)
9PUSH_CONSTANT(float2, position)
10PUSH_CONSTANT(float2, normal)
11SAMPLER(0, sampler2D, first_image_tx)
12SAMPLER(1, sampler2D, second_image_tx)
13IMAGE(0, SFLOAT_16_16_16_16, write, image2D, output_img)
14COMPUTE_SOURCE("compositor_split.glsl")
#define GPU_SHADER_CREATE_INFO(_info)
#define GPU_SHADER_CREATE_END()
#define SAMPLER(slot, type, name)
#define PUSH_CONSTANT(type, name)
#define LOCAL_GROUP_SIZE(...)
#define IMAGE(slot, format, qualifiers, type, name)
#define COMPUTE_SOURCE(filename)
#define DO_STATIC_COMPILATION()
ImageBase< float, 2 > image2D
SamplerBase< float, 2 > sampler2D