bgfx/src/fs_clear2.sc

14 lines
299 B
Python
Raw Normal View History

2013-02-22 00:07:31 -05:00
/*
2015-01-02 17:43:11 -05:00
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
2013-02-22 00:07:31 -05:00
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
2014-09-01 14:24:51 -04:00
uniform vec4 bgfx_clear_color[8];
2013-02-22 00:07:31 -05:00
void main()
{
2014-09-01 14: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 00:07:31 -05:00
}