Cleanup.
This commit is contained in:
parent
272195da3f
commit
3d06ddbd76
@ -8,25 +8,25 @@
|
||||
namespace bgfx
|
||||
{
|
||||
|
||||
#define BGFX_DECALRE_EMBEDDED_SHADER(_name) \
|
||||
extern const uint8_t _name ## _pssl[]; \
|
||||
extern const uint32_t _name ## _pssl_size; \
|
||||
const uint8_t _name ## _pssl[] = { 0 }; \
|
||||
const uint32_t _name ## _pssl_size = 1
|
||||
#define BGFX_DECLARE_EMBEDDED_SHADER(_name) \
|
||||
extern const uint8_t BX_CONCATENATE(_name, _pssl[]); \
|
||||
extern const uint32_t BX_CONCATENATE(_name, _pssl_size); \
|
||||
const uint8_t BX_CONCATENATE(_name, _pssl[]) = { 0 }; \
|
||||
const uint32_t BX_CONCATENATE(_name, _pssl_size) = 1
|
||||
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(vs_debugfont);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_debugfont);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(vs_clear);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear0);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear1);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear2);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear3);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear4);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear5);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear6);
|
||||
BGFX_DECALRE_EMBEDDED_SHADER(fs_clear7);
|
||||
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_DECALRE_EMBEDDED_SHADER
|
||||
#undef BGFX_DECLARE_EMBEDDED_SHADER
|
||||
|
||||
} // namespace bgfx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user