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 #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
glsl.430.layoutOffset.error.vert
1
#version 430 core
\r
2
\r
3
layout (std140) uniform UBO // offset can't use on 430 core with out extension require
\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