Files
Seele/res/shaders/test.glsl
T

20 lines
341 B
GLSL
Raw Normal View History

2023-10-24 15:01:09 +02:00
#version 450
2023-12-12 11:37:00 +01:00
#extension GL_EXT_mesh_shader : require
2023-10-24 15:01:09 +02:00
layout(row_major) uniform;
layout(row_major) buffer;
2023-10-09 17:20:30 +02:00
2023-12-12 11:37:00 +01:00
#line 27 0
layout(local_size_x = 3, local_size_y = 1, local_size_z = 1) in;
layout(max_vertices = 12) out;
layout(max_primitives = 4) out;
layout(triangles) out;
2023-10-26 18:37:29 +02:00
void main()
{
2023-12-12 11:37:00 +01:00
SetMeshOutputsEXT(12U, 4U);
2023-10-26 18:37:29 +02:00
2023-12-12 11:37:00 +01:00
#line 46
2023-10-26 18:37:29 +02:00
return;
}