aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index fd9b56f0..38f1ca80 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -4683,9 +4683,11 @@ VK_LAYER_EXPORT size_t VKAPI vkGetPipelineCacheSize(
VkDevice device,
VkPipelineCache pipelineCache)
{
- get_dispatch_table(pc_device_table_map, device)->GetPipelineCacheSize(device, pipelineCache);
+ size_t result = get_dispatch_table(pc_device_table_map, device)->GetPipelineCacheSize(device, pipelineCache);
PostGetPipelineCacheSize(device, pipelineCache);
+
+ return result;
}
bool PostGetPipelineCacheData(