Repository navigation
Commit 90d316c
committed
GPUTracking: replace the merger's goto with a flag
MSL supports neither goto nor labels. The label sat at the end of the loop body,
so each jump was a continue for the outer loop that could not be written as one
because it was issued from an inner loop. The flag is set there instead, breaks
out of the loop it was raised in, and continues the outer one; where the jump
came from two levels down it breaks twice.
The k loop is left early exactly as before, and nothing between the old jumps
and the old label ran then either.1 parent 41641b1 commit 90d316c
1 file changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| 1204 | + | |
1204 | 1205 | | |
1205 | 1206 | | |
1206 | 1207 | | |
| |||
1211 | 1212 | | |
1212 | 1213 | | |
1213 | 1214 | | |
1214 | | - | |
| 1215 | + | |
| 1216 | + | |
1215 | 1217 | | |
1216 | 1218 | | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1217 | 1222 | | |
1218 | 1223 | | |
1219 | 1224 | | |
1220 | 1225 | | |
1221 | 1226 | | |
1222 | 1227 | | |
1223 | | - | |
| 1228 | + | |
| 1229 | + | |
1224 | 1230 | | |
1225 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1226 | 1238 | | |
1227 | 1239 | | |
1228 | 1240 | | |
1229 | 1241 | | |
1230 | 1242 | | |
1231 | | - | |
| 1243 | + | |
| 1244 | + | |
1232 | 1245 | | |
1233 | 1246 | | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1234 | 1250 | | |
1235 | 1251 | | |
1236 | 1252 | | |
| |||
1244 | 1260 | | |
1245 | 1261 | | |
1246 | 1262 | | |
1247 | | - | |
| 1263 | + | |
| 1264 | + | |
1248 | 1265 | | |
1249 | 1266 | | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
1250 | 1273 | | |
1251 | 1274 | | |
1252 | 1275 | | |
| |||
1318 | 1341 | | |
1319 | 1342 | | |
1320 | 1343 | | |
1321 | | - | |
1322 | 1344 | | |
1323 | 1345 | | |
1324 | 1346 | | |
| |||
0 commit comments