template<typename Entry, typename Begin, typename Add, typename Finish, typename Dispatch>
| BridgeStatus donner::gpu::browser::ConstructBrowserBindGroup |
( |
std::span< const Entry > | entries, |
|
|
const Begin & | begin, |
|
|
const Add & | add, |
|
|
const Finish & | finish, |
|
|
const Dispatch & | dispatch ) |
Build one bounded bind-group descriptor in one synchronous owner dispatch.
The caller owns the entries and callbacks until dispatch returns. Production callbacks only invoke imported primitives: no C++ allocation, locks, logging, waits or promises. A sequence contains at most kMaxBindings + 2 primitives; this bounds work, not callback wall time.
- Parameters
-
| entries | Validated descriptor entries, borrowed for the synchronous call. |
| begin | Start browser descriptor state. |
| add | Append one entry. |
| finish | Publish the descriptor. |
| dispatch | Synchronously invoke its borrowed callback. |
- Returns
- First failure, or the finish status; oversized input fails before any dispatch.