summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/fs_blit.sc
blob: ff6befc427214748263f450f342ff2ed81f1c9f2 (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;
}