xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/reflection.linked.frag (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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