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
/
deferred-shading
/
shaders
/
deferred-shading-mainpass.vert
1
#version 300 es
2
precision mediump float;
3
4
// DALI uniforms
5
uniform mat4 uMvpMatrix;
6
uniform vec3 uSize;
7
8
in vec3 aPosition;
9
in vec2 aTexCoord;
10
11
out vec2 vUv;
12
13
void main()
14
{
15
vec4 position = uMvpMatrix * vec4(aPosition * uSize, 1.f);
16
vUv = aTexCoord;
17
18
gl_Position = position;
19
}