projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Vulkan] Basic Vulkan backend
[platform/core/uifw/dali-core.git]
/
dali
/
graphics
/
vulkan
/
shaders
/
basic-shader.vert
1
#version 430
2
3
layout( location = 0 ) in vec3 aPosition;
4
5
layout( set = 0, binding = 0, std140 ) uniform world
6
{
7
mat4 modelMat;
8
mat4 viewMat;
9
mat4 projMat;
10
vec4 color;
11
};
12
13
layout( location = 0 ) out vec4 triColor;
14
15
void main()
16
{
17
gl_Position = projMat * viewMat * modelMat * vec4( aPosition, 1.0 );
18
triColor = color;
19
}