• 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 vertin;
11
12out float vertout;
13
14void main()
15{
16    vertout = vertin;
17    vertout += ubo.shared_uniform;
18    vertout += ubo.vsonly_uniform;
19}
20