summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/fs_screen.sc
blob: cecf14b473081c018a96b2893c2983eab5c6e1cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$input v_color0, v_texcoord0

// license:BSD-3-Clause
// copyright-holders:Dario Manesku

#include "../../../../../3rdparty/bgfx/examples/common/common.sh"

// Samplers
SAMPLER2D(s_tex, 0); 

void main()
{
	gl_FragColor = texture2D(s_tex, v_texcoord0) * v_color0;
}