Debian Codegraph @

third_party/spirv-cross/reference/shaders/vulkan/frag/push-constant.vk.frag.vk

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