diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-06-28 15:52:55 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-07-06 19:45:31 -0600 |
| commit | 8fde7c728bd6651798dcc1823557c766ddfe3065 (patch) | |
| tree | bf54839f17e52cec71046e6647c0add269d99804 /layers/threading.cpp | |
| parent | 2285b018438edfc3bd6c005debf100a4c3a0ae16 (diff) | |
| download | usermoji-8fde7c728bd6651798dcc1823557c766ddfe3065.tar.xz | |
layers: Add binding between images and cmd buffer
For cmds that use images, update cb_bindings to tie image to cmd
buffer. This will be used to track invalid cmd buffers due to
destroying images.
The function structure here is the same but I've updated all of the
calls to use mem bindings from IMAGE_NODE with a single call rather
than the old two-call mechanism.
The assumption is that parameter_checker should be above
core_validation so I haven't replicated a bunch of its checks in the
case of invalid objects. I've added some asserts as a last line of
defense to make debugging invalid object issues in core_validation
simpler, but if running with full validation stack and responding to
validation errors from parameter_checker, then the asserts should
never be hit.
Diffstat (limited to 'layers/threading.cpp')
0 files changed, 0 insertions, 0 deletions
