projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
glsl.140.layoutOffset.error.vert
1
#version 140
\r
2
\r
3
layout (std140) uniform UBO // offset can't use under version 140
\r
4
{
\r
5
layout(offset = 0) vec4 a;
\r
6
};
\r
7
\r
8
in vec4 in_vs;
\r
9
out vec4 out_vs;
\r
10
\r
11
void main()
\r
12
{
\r
13
out_vs = in_vs + a;
\r
14
}
\r