qt6windows7/tests/manual/rhi/computebuffer/main.vert
2023-10-29 23:33:08 +01:00

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;
}