forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -2,6 +2,10 @@
|
|||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#if defined(__cplusplus) && !defined(GPU_SHADER)
|
||||||
|
|
||||||
# include <type_traits>
|
# include <type_traits>
|
||||||
|
|
||||||
template<typename T, int Sz> struct VecBase {};
|
template<typename T, int Sz> struct VecBase {};
|
||||||
@ -613,3 +617,5 @@ bool is_zero(vec4) {}
|
|||||||
#define bool3_array(...) { __VA_ARGS__ }
|
#define bool3_array(...) { __VA_ARGS__ }
|
||||||
#define bool4_array(...) { __VA_ARGS__ }
|
#define bool4_array(...) { __VA_ARGS__ }
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user