3 uniform layout(binding=0) sampler g_sSamp1;
4 uniform sampler g_sSamp2;
5 uniform layout(binding=2) sampler g_sSamp3[2];
6 uniform sampler g_sSamp4[3];
7 uniform sampler g_sSamp5;
9 uniform sampler g_sSamp_unused1;
10 uniform sampler g_sSamp_unused2;
12 uniform layout(binding=1) texture1D g_tTex1;
13 uniform texture1D g_tTex2;
14 uniform layout(binding=3) texture1D g_tTex3[2];
15 uniform texture1D g_tTex4[3];
16 uniform texture1D g_tTex5;
18 uniform layout(binding=0) texture1D g_tTex_unused1;
19 uniform layout(binding=2) texture1D g_tTex_unused2;
20 uniform texture1D g_tTex_unused3;
28 uniform layout(binding=4) myblock {
38 texture(sampler1D(g_tTex1, g_sSamp1), 0.1) +
39 texture(sampler1D(g_tTex2, g_sSamp2), 0.2) +
40 texture(sampler1D(g_tTex3[0], g_sSamp3[0]), 0.3) +
41 texture(sampler1D(g_tTex3[1], g_sSamp3[1]), 0.3) +
42 texture(sampler1D(g_tTex4[1], g_sSamp4[1]), 0.4) +
43 texture(sampler1D(g_tTex4[2], g_sSamp4[2]), 0.4) +
44 texture(sampler1D(g_tTex5, g_sSamp5), 0.5) +
51 texture(sampler1D(g_tTex1, g_sSamp1), 0.1) +
52 texture(sampler1D(g_tTex3[1], g_sSamp3[1]), 0.3);
55 // Not called from entry point:
59 texture(sampler1D(g_tTex_unused1, g_sSamp_unused1), 1.1) +
60 texture(sampler1D(g_tTex_unused2, g_sSamp_unused2), 1.2);
67 FragColor = Func1() + Func2();