Debian Codegraph @

third_party/spirv-cross/shaders-reflection/frag/push-constant.vk.frag

raw
1 #version 310 es
2 precision mediump float;
3
4 layout(push_constant, std430) uniform PushConstants
5 {
6 vec4 value0;
7 vec4 value1;
8 } push;
9
10 layout(location = 0) in vec4 vColor;
11 layout(location = 0) out vec4 FragColor;
12
13 void main()
14 {
15 FragColor = vColor + push.value0 + push.value1;
16 }