bgfx/src/fs_clear5.sc

17 lines
416 B
Python
Raw Normal View History

2014-09-01 14:24:51 -04:00
/*
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
uniform vec4 bgfx_clear_color[8];
void main()
{
gl_FragData[0] = bgfx_clear_color[0];
gl_FragData[1] = bgfx_clear_color[1];
gl_FragData[2] = bgfx_clear_color[2];
gl_FragData[3] = bgfx_clear_color[3];
gl_FragData[4] = bgfx_clear_color[4];
gl_FragData[5] = bgfx_clear_color[5];
}