Commit 095dd98
Remove unused pWaitDstStageMask from Vulkan submit
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 ef3571c commit 095dd98
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1106 | 1106 | | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | | - | |
1110 | | - | |
| 1109 | + | |
1111 | 1110 | | |
1112 | 1111 | | |
1113 | 1112 | | |
| |||
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
1119 | | - | |
1120 | 1118 | | |
1121 | 1119 | | |
1122 | 1120 | | |
| |||
2305 | 2303 | | |
2306 | 2304 | | |
2307 | 2305 | | |
2308 | | - | |
| 2306 | + | |
2309 | 2307 | | |
2310 | 2308 | | |
2311 | 2309 | | |
| |||
0 commit comments