repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
glsl.140.layoutOffset.error.vert
blob
c57b5bc49313f3c8029a744893af36642241b376
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