| #version 310 es |
| |
| uniform int a; |
| void uses_a() { |
| int foo = a; |
| } |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| void main() { |
| uses_a(); |
| } |
| #version 310 es |
| |
| uniform int a; |
| void uses_a() { |
| int foo = a; |
| } |
| void uses_uses_a() { |
| uses_a(); |
| } |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| void main() { |
| uses_uses_a(); |
| } |
| #version 310 es |
| |
| uniform int b; |
| void uses_b() { |
| int foo = b; |
| } |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| void main() { |
| uses_b(); |
| } |
| #version 310 es |
| |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| void main() { |
| } |