aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-12-27 07:32:56 -0700
committerTobin Ehlis <tobine@google.com>2016-12-27 07:32:56 -0700
commit381f761eb8ae5b208fc2acc115ac394fe11fa412 (patch)
treebd7292be58daa920e44ac5641ec990d622901e29 /layers/core_validation.cpp
parent5854d12e56a01cbef9e3c7b5dc06e085280fa53a (diff)
downloadusermoji-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.cpp2
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();
}
}