Commit 4d4bb08
authored
Fix up command-buffer enqueue error after PR-1382 (KhronosGroup#1471)
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, when all arguments are available. Rather than defined as after the
finalization operation, which could result in the command-buffer being in
either the finalization or executable state.
We already have a NOTE above to this effect, which I've removed as it
felt like it didn't add any extra value above the error definition, but
can added back if folks think it's worthwhile.1 parent e22f577 commit 4d4bb08
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15122 | 15122 | | |
15123 | 15123 | | |
15124 | 15124 | | |
15125 | | - | |
15126 | | - | |
15127 | | - | |
15128 | | - | |
15129 | | - | |
15130 | | - | |
15131 | 15125 | | |
15132 | 15126 | | |
15133 | 15127 | | |
15134 | 15128 | | |
15135 | 15129 | | |
15136 | 15130 | | |
15137 | 15131 | | |
15138 | | - | |
| 15132 | + | |
| 15133 | + | |
15139 | 15134 | | |
15140 | 15135 | | |
15141 | 15136 | | |
| |||
0 commit comments