bgfx/src/fs_clear2.sc

16 lines
333 B
Python
Raw Normal View History

2013-02-22 09:07:31 +04:00
/*
2018-01-01 22:16:06 +03:00
* Copyright 2011-2018 Branimir Karadzic. All rights reserved.
2016-01-01 11:11:04 +03:00
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
2013-02-22 09:07:31 +04:00
*/
2016-10-06 06:41:25 +03:00
#include "bgfx_shader.sh"
2014-09-01 22:24:51 +04:00
uniform vec4 bgfx_clear_color[8];
2013-02-22 09:07:31 +04:00
void main()
{
2014-09-01 22:24:51 +04:00
gl_FragData[0] = bgfx_clear_color[0];
gl_FragData[1] = bgfx_clear_color[1];
gl_FragData[2] = bgfx_clear_color[2];
2013-02-22 09:07:31 +04:00
}