mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 09:45:25 +08:00
qt 6.5.1 original
This commit is contained in:
11
tests/manual/rhi/computebuffer/main.vert
Normal file
11
tests/manual/rhi/computebuffer/main.vert
Normal file
@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user