summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/ra.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-02-04 23:17:20 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-05 02:49:03 -0800
commitf151ac57cb835408598e964beac17356e8c4f1cc (patch)
tree1daf96d3e9f9e0a3afd0f4137aa78c19b9024a7c /video/out/gpu/ra.h
parentf92e45bb8c97287ced54e27e2a5ba66bcac66b19 (diff)
downloadmpv-f151ac57cb835408598e964beac17356e8c4f1cc.tar.bz2
mpv-f151ac57cb835408598e964beac17356e8c4f1cc.tar.xz
vo_gpu: vulkan: don't issue queries for unused timers
The vulkan validation layers warn you if you try requesting a query result from a timer that hasn't even been started yet, so we have to do some extra bit of work to keep track of which indices we've seen so far, and avoid the queries on them.
Diffstat (limited to 'video/out/gpu/ra.h')
0 files changed, 0 insertions, 0 deletions