Add Chromium-only Blender WebEngine parity work
This commit is contained in:
19
blender-5.2.0/source/blender/gpu/GPU_common.hh
Normal file
19
blender-5.2.0/source/blender/gpu/GPU_common.hh
Normal file
@@ -0,0 +1,19 @@
|
||||
/* SPDX-FileCopyrightText: 2016 by Mike Erwin. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
/** \file
|
||||
* \ingroup gpu
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define PROGRAM_NO_OPTI 0
|
||||
// #define GPU_NO_USE_PY_REFERENCES
|
||||
|
||||
/* GPU_INLINE */
|
||||
#if defined(_MSC_VER)
|
||||
# define GPU_INLINE static __forceinline
|
||||
#else
|
||||
# define GPU_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
||||
#endif
|
||||
Reference in New Issue
Block a user