Files
bgfx/3rdparty/glslang/Test/reflection.linked.frag
Бранимир Караџић a9bc78b91f Updated glslang.
2019-02-09 12:15:10 -08:00

20 lines
334 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 vertout;
out float fragout;
void main()
{
fragout = vertout;
fragout += ubo.shared_uniform;
fragout += ubo.fsonly_uniform;
}