mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-04 00:52:40 +00:00
13761069b5
For the smallest builds, google tests will not be present, in addition to a large number of tests not being capable of running.
15 lines
262 B
GLSL
15 lines
262 B
GLSL
#version 310 es
|
|
|
|
layout(location = 0) in mediump float ps;
|
|
|
|
invariant gl_Position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(ps);
|
|
gl_Position *= float(4 - gl_VertexIndex);
|
|
|
|
gl_PointSize = ps;
|
|
gl_PointSize *= float(5 - gl_InstanceIndex);
|
|
}
|