• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 440 core
2
3layout(binding = 0, std140) uniform ubo_block {
4	float unused_uniform;
5	float shared_uniform;
6	float vsonly_uniform;
7	float fsonly_uniform;
8} ubo;
9
10in float vertout;
11
12out float fragout;
13
14void main()
15{
16    fragout = vertout;
17    fragout += ubo.shared_uniform;
18    fragout += ubo.fsonly_uniform;
19}
20