6f4aa54131
D3D11 and GL (4.3+, ES 3.1+) will come separately at a later time. Change-Id: If30f2f3d062fa27e57e9912674669225b82a7b93 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
12 lines
227 B
GLSL
12 lines
227 B
GLSL
#version 440
|
|
|
|
layout(location = 0) in vec4 position;
|
|
|
|
out gl_PerVertex { vec4 gl_Position; float gl_PointSize; };
|
|
|
|
void main()
|
|
{
|
|
gl_PointSize = 4.0; // required with Vulkan when drawing points
|
|
gl_Position = position;
|
|
}
|