diff options
author | Niklas Haas <git@haasn.xyz> | 2018-02-04 23:17:20 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-05 02:49:03 -0800 |
commit | f151ac57cb835408598e964beac17356e8c4f1cc (patch) | |
tree | 1daf96d3e9f9e0a3afd0f4137aa78c19b9024a7c /video/decode/vd_lavc.c | |
parent | f92e45bb8c97287ced54e27e2a5ba66bcac66b19 (diff) | |
download | mpv-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/decode/vd_lavc.c')
0 files changed, 0 insertions, 0 deletions