Blender V4.3
gpu_interface_info.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
12
13GPU_SHADER_INTERFACE_INFO(flat_color_iface, "").flat(Type::VEC4, "finalColor");
14GPU_SHADER_INTERFACE_INFO(no_perspective_color_iface, "").no_perspective(Type::VEC4, "finalColor");
15GPU_SHADER_INTERFACE_INFO(smooth_color_iface, "").smooth(Type::VEC4, "finalColor");
16GPU_SHADER_INTERFACE_INFO(smooth_tex_coord_interp_iface, "").smooth(Type::VEC2, "texCoord_interp");
17GPU_SHADER_INTERFACE_INFO(smooth_radii_iface, "").smooth(Type::VEC2, "radii");
18GPU_SHADER_INTERFACE_INFO(smooth_radii_outline_iface, "").smooth(Type::VEC4, "radii");
19GPU_SHADER_INTERFACE_INFO(flat_color_smooth_tex_coord_interp_iface, "")
20 .flat(Type::VEC4, "finalColor")
21 .smooth(Type::VEC2, "texCoord_interp");
22GPU_SHADER_INTERFACE_INFO(smooth_icon_interp_iface, "")
23 .smooth(Type::VEC2, "texCoord_interp")
24 .smooth(Type::VEC2, "mask_coord_interp");
#define GPU_SHADER_INTERFACE_INFO(_interface, _inst_name)