Blender V5.0
eevee_renderbuffers_shared.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
8
9#pragma once
10
12
13#ifndef GPU_SHADER
14namespace blender::eevee {
15#endif
16
17/* Theoretical max is 128 as we are using texture array and VRAM usage.
18 * However, the output_aov() function perform a linear search inside all the hashes.
19 * If we find a way to avoid this we could bump this number up. */
20#define AOV_MAX 16
21
23 /* Use uint4 to workaround std140 packing rules.
24 * Only the x value is used. */
27 /* Length of used data. */
34};
36
58
59#ifndef GPU_SHADER
60} // namespace blender::eevee
61#endif
#define BLI_STATIC_ASSERT_ALIGN(st, align)
Definition BLI_assert.h:86
int32_t bool32_t
#define AOV_MAX
VecBase< uint32_t, 4 > uint4