[Vulkan] Minor optimization for deferred token lookups. (#3960)
authorAndrew Tulloch <andrew@tullo.ch>
Tue, 17 Sep 2019 16:34:33 +0000 (09:34 -0700)
committerTianqi Chen <tqchen@users.noreply.github.com>
Tue, 17 Sep 2019 16:34:32 +0000 (09:34 -0700)
commit1fe17d1427f37acfbb464fccde258b7afe516276
treee434d523342c2c24373941833f5c86979586d8c8
parenta30734577ebe2786c1badf2265db8bf4fcb2694e
[Vulkan] Minor optimization for deferred token lookups. (#3960)

Use a hash map keyed on the descriptor set to avoid bad asymptotic behaviour.
src/runtime/vulkan/vulkan_stream.h