bgfx/src/renderer_gnm.cpp

46 lines
1.4 KiB
C++
Raw Normal View History

2016-09-24 18:36:02 +03:00
/*
2019-01-14 04:13:25 +03:00
* Copyright 2011-2019 Branimir Karadzic. All rights reserved.
2016-09-24 18:36:02 +03:00
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "bgfx_p.h"
2016-10-06 06:41:25 +03:00
namespace bgfx
{
2016-10-06 09:19:18 +03:00
#define BGFX_DECLARE_EMBEDDED_SHADER(_name) \
extern const uint8_t* BX_CONCATENATE(_name, _pssl); \
extern const uint32_t BX_CONCATENATE(_name, _pssl_size); \
static const uint8_t BX_CONCATENATE(_name, _int_pssl)[] = { 0 }; \
const uint8_t* BX_CONCATENATE(_name, _pssl) = &BX_CONCATENATE(_name, _int_pssl)[0]; \
2016-10-06 06:49:24 +03:00
const uint32_t BX_CONCATENATE(_name, _pssl_size) = 1
BGFX_DECLARE_EMBEDDED_SHADER(vs_debugfont);
BGFX_DECLARE_EMBEDDED_SHADER(fs_debugfont);
BGFX_DECLARE_EMBEDDED_SHADER(vs_clear);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear0);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear1);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear2);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear3);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear4);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear5);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear6);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear7);
#undef BGFX_DECLARE_EMBEDDED_SHADER
2016-10-06 06:41:25 +03:00
} // namespace bgfx
2016-09-24 18:36:02 +03:00
namespace bgfx { namespace gnm
{
2017-12-08 08:52:52 +03:00
RendererContextI* rendererCreate(const Init& _init)
2016-09-24 18:36:02 +03:00
{
2017-12-08 08:52:52 +03:00
BX_UNUSED(_init);
2016-09-24 18:36:02 +03:00
return NULL;
}
void rendererDestroy()
{
}
} /* namespace gnm */ } // namespace bgfx