diff options
| author | Michael Lentine <mlentine@google.com> | 2016-05-05 16:20:16 -0500 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-05-05 15:29:08 -0600 |
| commit | a0b865eef8d657a774cdd62f258d2439fa2659b1 (patch) | |
| tree | b04a477d185f5f3cbae0d712941042ed3c2b889c /layers/core_validation.cpp | |
| parent | cf5fb234bce219d5bc616cd255a790f44dd5f9be (diff) | |
| download | usermoji-a0b865eef8d657a774cdd62f258d2439fa2659b1.tar.xz | |
layers: Clear cmdbufs and prior fences after processed in decrement.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 4b0eb427..d88fac02 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -4870,6 +4870,8 @@ static bool decrementResources(layer_data *my_data, uint32_t fenceCount, const V skip_call |= cleanInFlightCmdBuffer(my_data, cmdBuffer); removeInFlightCmdBuffer(my_data, cmdBuffer); } + fence_data->second.cmdBuffers.clear(); + fence_data->second.priorFences.clear(); } for (auto fence : fences) { for (auto queue_data : my_data->queueMap) { |
