Sign in
◑
Theme
skia
/
external
/
github.com
/
libsdl-org
/
SDL
/
0bdaaf6c76f320bd75a2c9bb20da151c469d6402
/
.
/
src
/
render
/
gpu
/
shaders
/
texture_rgba.frag
blob: 05fd18c82d828deaf816d7e3855bd8a4831c7060 [
file
]
#version 450
layout
(
location
=
0
)
in
vec4 v_color
;
layout
(
location
=
1
)
in
vec2 v_uv
;
layout
(
set
=
2
,
binding
=
0
)
uniform sampler2D u_texture
;
layout
(
location
=
0
)
out
vec4 o_color
;
void
main
()
{
o_color
=
texture
(
u_texture
,
v_uv
)
*
v_color
;
}