qt6windows7/tests/manual/rhi/computebuffer/main.vert

12 lines
227 B
GLSL
Raw Normal View History

2023-10-30 06:33:08 +08:00
#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;
}