• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(set = 0, binding = 0) sampler2D aSampler;
2layout(set = 0, binding = 1) sampler2D aSecondSampler;
3
4noinline half4 bar(sampler2D s) {
5    return sample(s, float2(0));
6}
7
8noinline half4 foo() {
9    half4 a = bar(aSampler);
10    half4 b = bar(aSecondSampler);
11    return a + b;
12}
13
14void main() {
15    foo();
16}
17
18