mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
20 lines
332 B
GLSL
20 lines
332 B
GLSL
|
#version 440 core
|
||
|
|
||
|
layout(binding = 0, std140) uniform ubo_block {
|
||
|
float unused_uniform;
|
||
|
float shared_uniform;
|
||
|
float vsonly_uniform;
|
||
|
float fsonly_uniform;
|
||
|
} ubo;
|
||
|
|
||
|
in float vertin;
|
||
|
|
||
|
out float vertout;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vertout = vertin;
|
||
|
vertout += ubo.shared_uniform;
|
||
|
vertout += ubo.vsonly_uniform;
|
||
|
}
|