Debian Codegraph @

third_party/spirv-cross/shaders-hlsl/frag/io-block.frag

raw
1 #version 310 es
2 #extension GL_EXT_shader_io_blocks : require
3 precision mediump float;
4
5 layout(location = 1) in VertexOut
6 {
7 vec4 a;
8 vec4 b;
9 };
10
11 layout(location = 0) out vec4 FragColor;
12
13 void main()
14 {
15 FragColor = a + b;
16 }