• Zebediah Figura's avatar
    wined3d: Provide a null counter BO for slots with no corresponding XFB buffer bound. · fbd53c3a
    Zebediah Figura authored
    The Vulkan specification does not currently mandate this. However, an
    (unfortunately internal) Khronos discussion determined that this is an
    oversight, and that many drivers likely expect that no counter buffer will be
    bound if no XFB buffer is bound. Accordingly the specification will probably
    mandate this in the future.
    
    lavapipe is such a driver. This fixes a crash with llvmpipe in
    test_index_buffer_offset().
    fbd53c3a
context_vk.c 152 KB