• J
    win-capture: Improve Vulkan synchronization · 83dd9c85
    jpark37 提交于
    Use general layout and 0 access masks for external synchronization as
    specified in the spec.
    
    Also set pipeline stages for maximum synchronization just in case
    because it doesn't seem like the pipeline stages are specified.
    
    "Vulkan-incompatible APIs will require the image to be in the GENERAL
    layout whenever they are accessing them."
    
    "Whilst it is not invalid to provide destination or source access masks
    for memory barriers used for release or acquire operations,
    respectively, they have no practical effect. Access after a release
    operation has undefined results, and so visibility for those accesses
    has no practical effect. Similarly, write access before an acquire
    operation will produce undefined results for future access, so
    availability of those writes has no practical use. In an earlier version
    of the specification, these were required to match on both sides - but
    this was subsequently relaxed. These masks should be set to 0."
    83dd9c85
vulkan-capture.c 43.2 KB