dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 1 | #version 310 es |
dan sinclair | 6e93ca5 | 2024-08-28 23:58:04 +0000 | [diff] [blame] | 2 | |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 3 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 4 | void main() { |
| 5 | { |
| 6 | int i = 0; |
| 7 | while(true) { |
| 8 | if ((i < 2)) { |
| 9 | } else { |
| 10 | break; |
| 11 | } |
Antonio Maiorano | 923288d | 2024-09-20 17:45:37 +0000 | [diff] [blame] | 12 | bool tint_continue = false; |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 13 | switch(i) { |
| 14 | case 0: |
| 15 | { |
| 16 | { |
| 17 | int j = 0; |
| 18 | while(true) { |
| 19 | if ((j < 2)) { |
| 20 | } else { |
| 21 | break; |
| 22 | } |
James Price | 0ecdfeb | 2024-10-18 01:44:07 +0000 | [diff] [blame] | 23 | bool tint_continue_1 = false; |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 24 | switch(j) { |
| 25 | case 0: |
| 26 | { |
James Price | 0ecdfeb | 2024-10-18 01:44:07 +0000 | [diff] [blame] | 27 | tint_continue_1 = true; |
Antonio Maiorano | 923288d | 2024-09-20 17:45:37 +0000 | [diff] [blame] | 28 | break; |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 29 | } |
| 30 | default: |
| 31 | { |
| 32 | break; |
| 33 | } |
| 34 | } |
James Price | 0ecdfeb | 2024-10-18 01:44:07 +0000 | [diff] [blame] | 35 | if (tint_continue_1) { |
Antonio Maiorano | 923288d | 2024-09-20 17:45:37 +0000 | [diff] [blame] | 36 | { |
| 37 | j = (j + 2); |
| 38 | } |
| 39 | continue; |
| 40 | } |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 41 | { |
| 42 | j = (j + 2); |
| 43 | } |
| 44 | continue; |
| 45 | } |
| 46 | } |
Antonio Maiorano | 923288d | 2024-09-20 17:45:37 +0000 | [diff] [blame] | 47 | tint_continue = true; |
| 48 | break; |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 49 | } |
| 50 | default: |
| 51 | { |
| 52 | break; |
| 53 | } |
| 54 | } |
Antonio Maiorano | 923288d | 2024-09-20 17:45:37 +0000 | [diff] [blame] | 55 | if (tint_continue) { |
| 56 | { |
| 57 | i = (i + 2); |
| 58 | } |
| 59 | continue; |
| 60 | } |
dan sinclair | 7206591 | 2024-09-03 19:02:15 +0000 | [diff] [blame] | 61 | { |
| 62 | i = (i + 2); |
| 63 | } |
| 64 | continue; |
| 65 | } |
| 66 | } |
| 67 | } |