Commit 8fbdf2a
committed
Fix up command-buffer enqueue error after PR-1382
KhronosGroup#1382 added support
for deferring setting arguments on a kernel command which is updatable.
To achieve this we added an extra command-buffer state, "Finalized"
which is entered when a command-buffer has been finalized but doesn't
yet have all it's arguments set.
However, if a user tries to enqueue a command-buffer in this state
it shouldn't be valid. Therefore update our current wording about
when an command-buffer can be enqueued to say the specifically the executable
state, rather than just after the finalization operation, which could
result in the command-buffer being in either the finalization or executable
state.1 parent e22f577 commit 8fbdf2a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15135 | 15135 | | |
15136 | 15136 | | |
15137 | 15137 | | |
15138 | | - | |
| 15138 | + | |
| 15139 | + | |
15139 | 15140 | | |
15140 | 15141 | | |
15141 | 15142 | | |
| |||
0 commit comments