Commit a6683b6
[ET-VK] 2/n Split dispatches between multiple command buffers. Add semaphore support to Adapter::submit_cmd. (#12522)
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #12525
* #12523
* __->__ #12522
* #12519
This diff adds semaphore support to `Adapter::submit_cmd` by modifying
its function signature to include `wait_semaphore` and
`signal_semaphore` parameters. The updated function now takes into
account the new semaphore parameters and correctly configures the
pipeline stages using `VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT`.
Differential Revision:
[D78360041](https://our.internmc.facebook.com/intern/diff/D78360041/)
---------
Co-authored-by: Stephen Jia <[email protected]>1 parent 7a4ec13 commit a6683b6
2 files changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
311 | 316 | | |
312 | 317 | | |
313 | 318 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
317 | 322 | | |
318 | 323 | | |
319 | | - | |
320 | | - | |
| 324 | + | |
| 325 | + | |
321 | 326 | | |
322 | 327 | | |
323 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| |||
0 commit comments