Blender V5.0
GPU_common.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2016 by Mike Erwin. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#define PROGRAM_NO_OPTI 0
12// #define GPU_NO_USE_PY_REFERENCES
13
14/* GPU_INLINE */
15#if defined(_MSC_VER)
16# define GPU_INLINE static __forceinline
17#else
18# define GPU_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
19#endif