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
/
web.builtins.vert
1
#version 310 es
\r
2
\r
3
layout(location = 0) in mediump float ps;
\r
4
\r
5
invariant gl_Position;
\r
6
\r
7
void main()
\r
8
{
\r
9
gl_Position = vec4(ps);
\r
10
gl_Position *= float(4 - gl_VertexIndex);
\r
11
\r
12
gl_PointSize = ps;
\r
13
gl_PointSize *= float(5 - gl_InstanceIndex);
\r
14
}
\r