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

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

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

SAMPLER2D(s_tex, 0);

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