Commit e2679fa
Remove unused pWaitDstStageMask from Vulkan submit (#1034)
`pWaitDstStageMask` is only meaningful when wait semaphores are used,
which this submit path does not use. This wasn't causing errors in
practice because `vkWaitForFences()` is called after every submit,
preventing concurrent in-flight command buffers.
The compute dispatch submit passed `VK_PIPELINE_STAGE_TRANSFER_BIT`,
intending to wait for the prior buffer transfer submit to complete, but
`pWaitDstStageMask` is a **destination stage mask** — it specifies which
stages in the current submit to block until a wait semaphore signals,
**not** which prior stages to wait on. Without semaphores this had no
effect.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 77bccdd commit e2679fa
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
1158 | | - | |
| 1157 | + | |
1159 | 1158 | | |
1160 | 1159 | | |
1161 | 1160 | | |
| |||
1164 | 1163 | | |
1165 | 1164 | | |
1166 | 1165 | | |
1167 | | - | |
1168 | 1166 | | |
1169 | 1167 | | |
1170 | 1168 | | |
| |||
2365 | 2363 | | |
2366 | 2364 | | |
2367 | 2365 | | |
2368 | | - | |
| 2366 | + | |
2369 | 2367 | | |
2370 | 2368 | | |
2371 | 2369 | | |
| |||
0 commit comments