projects
/
platform
/
core
/
uifw
/
dali-demo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Convert shaders in dali-demo to use shader compilation tool
[platform/core/uifw/dali-demo.git]
/
examples
/
simple-text-renderer
/
shaders
/
simple-text-renderer.vert
1
#version 300 es
2
3
precision mediump float;
4
5
in vec2 aPosition;
6
in vec2 aTexCoord;
7
8
out vec2 vUV;
9
10
uniform vec3 uSize;
11
uniform mat4 uMvpMatrix;
12
13
void main()
14
{
15
vec4 vertexPosition = vec4(aPosition, 0.0, 1.0);
16
vertexPosition.xyz *= uSize;
17
gl_Position = uMvpMatrix * vertexPosition;
18
19
vUV = aTexCoord;
20
}