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
/
spv.300layout.frag
blob
5b4c56c22150bde8884c8e9e17ea8133b97629e0
1
#version 310 es
\r
2
\r
3
precision mediump float;
\r
4
\r
5
in vec4 pos;
\r
6
in vec3 color;
\r
7
\r
8
layout(location = 7) out vec3 c;
\r
9
layout(LocatioN = 3) out vec4 p[2];
\r
10
\r
11
struct S {
\r
12
vec3 c;
\r
13
float f;
\r
14
};
\r
15
\r
16
in S s;
\r
17
\r
18
void main()
\r
19
{
\r
20
c = color + s.c;
\r
21
p[1] = pos * s.f;
\r
22
}
\r