• Lynne's avatar
    vulkan: return VK_NOT_READY when no queries are available · 1a8e7669
    Lynne authored
    Fixes a validation issue.
    The issue is that the function gets called before we've sumitted a frame
    for decoding to that context. However, we cannot run queries before
    they've been reset, which happens at submission time.
    As we'd need to otherwise run a command queue at init-time, just check
    if submissions have happened.
    1a8e7669
vulkan.h 17.2 KB