forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -61,6 +61,7 @@ namespace blender::gpu::shader {
|
|||||||
}
|
}
|
||||||
# define GPU_SHADER_CREATE_END() }
|
# define GPU_SHADER_CREATE_END() }
|
||||||
|
|
||||||
|
# define SHADER_LIBRARY_CREATE_INFO(_info) using namespace _info;
|
||||||
# define VERTEX_SHADER_CREATE_INFO(_info) \
|
# define VERTEX_SHADER_CREATE_INFO(_info) \
|
||||||
using namespace ::gl_VertexShader; \
|
using namespace ::gl_VertexShader; \
|
||||||
using namespace _info::gl_VertexShader; \
|
using namespace _info::gl_VertexShader; \
|
||||||
|
@ -2549,3 +2549,8 @@ mat3x4 MAT3x4(mat2 m)
|
|||||||
#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 */
|
||||||
|
|
||||||
|
#define SHADER_LIBRARY_CREATE_INFO(a)
|
||||||
|
#define VERTEX_SHADER_CREATE_INFO(a)
|
||||||
|
#define FRAGMENT_SHADER_CREATE_INFO(a)
|
||||||
|
#define COMPUTE_SHADER_CREATE_INFO(a)
|
||||||
|
@ -121,3 +121,8 @@ bool is_zero(vec4 A)
|
|||||||
#define bool2_array bool2[]
|
#define bool2_array bool2[]
|
||||||
#define bool3_array bool3[]
|
#define bool3_array bool3[]
|
||||||
#define bool4_array bool4[]
|
#define bool4_array bool4[]
|
||||||
|
|
||||||
|
#define SHADER_LIBRARY_CREATE_INFO(a)
|
||||||
|
#define VERTEX_SHADER_CREATE_INFO(a)
|
||||||
|
#define FRAGMENT_SHADER_CREATE_INFO(a)
|
||||||
|
#define COMPUTE_SHADER_CREATE_INFO(a)
|
||||||
|
Loading…
Reference in New Issue
Block a user