yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichMerge pull request #1684 from baldurk/reflection-interface-improved83344fc

main
334 B19 linesraw
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}