aboutsummaryrefslogtreecommitdiff
path: root/layers/shader_checker.cpp
diff options
context:
space:
mode:
authorMike Stroyan <mike@LunarG.com>2015-05-19 15:16:08 -0600
committerMark Lobodzinski <mark@lunarg.com>2015-06-02 09:43:27 -0500
commit377f53106b805b2d769548feecb6352b5dbe2f4d (patch)
tree04496602b0a5768770ce1f4fbacebe5ccf095998 /layers/shader_checker.cpp
parent4d02ef412baf22287912057076e2834e42da371a (diff)
downloadusermoji-377f53106b805b2d769548feecb6352b5dbe2f4d.tar.xz
layers: Tuning MemTracker
Reverse sense of fenceMap using VkFence instead of fenceID as key. This eliminates iterating over all of fenceMap. Stop creating internal fences and let vkQueueSubmit pass NULL fence. Track lastSubmittedFence and lastSubmittedQueue in command buffer info. Use unordered_map instead of map for better performance. Reuse iterator returned by map find whenever available. It is faster than repeating a find operation with "[]" notation. Remove map entries at time of VkDestroy instead of other calls such as Wait.
Diffstat (limited to 'layers/shader_checker.cpp')
0 files changed, 0 insertions, 0 deletions