diff options
| author | Jeremy Hayes <jeremy@lunarg.com> | 2015-07-31 12:54:58 -0600 |
|---|---|---|
| committer | Jeremy Hayes <jeremy@lunarg.com> | 2015-07-31 12:58:47 -0600 |
| commit | fa0036742bf066ab5d2c645806e487a1260d392c (patch) | |
| tree | e81e1ba43c3684150c2fc190499007cbde09316f /layers/param_checker.cpp | |
| parent | f731e6737dcd0261470c9c24fd43774d3ebee274 (diff) | |
| download | usermoji-fa0036742bf066ab5d2c645806e487a1260d392c.tar.xz | |
layers: Fix vkGetPipelineCacheSize validation.
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 4 |
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( |
