mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-20 04:40:01 +00:00
6f723ebbe3
when using multiple compilation units, input/output layouts don't need to be declared in every unit.
10 lines
117 B
GLSL
Executable File
10 lines
117 B
GLSL
Executable File
#version 330
|
|
|
|
layout(lines) in;
|
|
layout(line_strip, max_vertices = 6) out;
|
|
|
|
float getV()
|
|
{
|
|
return 1.0;
|
|
}
|