diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-12-27 07:32:56 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-12-27 07:32:56 -0700 |
| commit | 381f761eb8ae5b208fc2acc115ac394fe11fa412 (patch) | |
| tree | bd7292be58daa920e44ac5641ec990d622901e29 /layers/core_validation.cpp | |
| parent | 5854d12e56a01cbef9e3c7b5dc06e085280fa53a (diff) | |
| download | usermoji-381f761eb8ae5b208fc2acc115ac394fe11fa412.tar.xz | |
layers:Fix CmdDispatch post-call function
Cut-and-paste bug was incorrectly calling CmdDraw post-call function
instead of CmdDispatch.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index c2ed9be8..44ad72b7 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -8263,7 +8263,7 @@ VKAPI_ATTR void VKAPI_CALL CmdDispatch(VkCommandBuffer commandBuffer, uint32_t x if (!skip) { dev_data->dispatch_table.CmdDispatch(commandBuffer, x, y, z); lock.lock(); - PostCallRecordCmdDraw(dev_data, cb_state, VK_PIPELINE_BIND_POINT_COMPUTE, &active_set_bindings_pairs, &active_bindings); + PostCallRecordCmdDispatch(dev_data, cb_state, VK_PIPELINE_BIND_POINT_COMPUTE, &active_set_bindings_pairs, &active_bindings); lock.unlock(); } } |
