forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -39,7 +39,6 @@
|
|||||||
namespace blender::gpu::shader {
|
namespace blender::gpu::shader {
|
||||||
|
|
||||||
#if defined(GLSL_CPP_STUBS)
|
#if defined(GLSL_CPP_STUBS)
|
||||||
# error
|
|
||||||
# define GPU_SHADER_NAMED_INTERFACE_INFO(_interface, _inst_name) \
|
# define GPU_SHADER_NAMED_INTERFACE_INFO(_interface, _inst_name) \
|
||||||
namespace _interface { \
|
namespace _interface { \
|
||||||
struct {
|
struct {
|
||||||
@ -48,7 +47,7 @@ namespace blender::gpu::shader {
|
|||||||
_inst_name; \
|
_inst_name; \
|
||||||
}
|
}
|
||||||
|
|
||||||
# define GPU_SHADER_INTERFACE_INFO(_interface, _inst_name) namespace _interface {
|
# define GPU_SHADER_INTERFACE_INFO(_interface) namespace _interface {
|
||||||
# define GPU_SHADER_INTERFACE_END() }
|
# define GPU_SHADER_INTERFACE_END() }
|
||||||
|
|
||||||
# define GPU_SHADER_CREATE_INFO(_info) \
|
# define GPU_SHADER_CREATE_INFO(_info) \
|
||||||
|
Loading…
Reference in New Issue
Block a user