Blender V5.3
eevee_motion_blur_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
10
11#pragma once
12
14
15#ifndef GPU_SHADER
16namespace blender::eevee {
17#endif
18
19#define MOTION_BLUR_TILE_SIZE 32
20#define MOTION_BLUR_MAX_TILE 512 /* 16384 / MOTION_BLUR_TILE_SIZE */
35
36/* For some reasons some GLSL compilers do not like this struct.
37 * So we declare it as a uint array instead and do indexing ourselves. */
38#ifndef GPU_SHADER
47#endif
48
49#ifndef GPU_SHADER
50} // namespace blender::eevee
51#endif
#define host_shared
#define MOTION_BLUR_MAX_TILE
unsigned int uint
Definition BKE_text.h:55
VecBase< float, 2 > float2
uint next[MOTION_BLUR_MAX_TILE][MOTION_BLUR_MAX_TILE]
uint prev[MOTION_BLUR_MAX_TILE][MOTION_BLUR_MAX_TILE]