Debian Codegraph @

third_party/spirv-cross/shaders-msl/frag/pls.frag

raw
1 #version 310 es
2 precision mediump float;
3
4 layout(location = 0) in vec4 PLSIn0;
5 layout(location = 1) in vec4 PLSIn1;
6 layout(location = 2) in vec4 PLSIn2;
7 layout(location = 3) in vec4 PLSIn3;
8
9 layout(location = 0) out vec4 PLSOut0;
10 layout(location = 1) out vec4 PLSOut1;
11 layout(location = 2) out vec4 PLSOut2;
12 layout(location = 3) out vec4 PLSOut3;
13
14 void main()
15 {
16 PLSOut0 = 2.0 * PLSIn0;
17 PLSOut1 = 6.0 * PLSIn1;
18 PLSOut2 = 7.0 * PLSIn2;
19 PLSOut3 = 4.0 * PLSIn3;
20 }