Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/frag/pls.frag

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