Skip to content
  • Dave Airlie's avatar
    vallium: initial import of the vulkan frontend · b38879f8
    Dave Airlie authored
    
    
    This is the initial import of the vallium frontend for gallium.
    This is only good enough to run the triangle and the gears demo
    (wrongly) from Sascha demos.
    
    Improvements are mostly on the llvmpipe side after this.
    
    It contains an implementation of the Vulkan API which is mapped
    onto the gallium API, and is suitable only for SOFTWARE drivers.
    
    Command buffers are recordred into malloced memory, then later
    they are played back against the gallium API. The command buffers
    are mostly just Vulkan API marshalling but in some places the information is
    processed before being put into the command buffer (renderpass stuff).
    
    Execution happens on a separate "graphics" thread, againt the gallium API.
    
    There is only a single queue which wraps a single gallium context.
    
    Resources are allocated via the new resource/memory APIs.
    Shaders are created via the context and bound/unbound in the
    second thread.
    
    (No HW for reasons - memory management, sw paths for lots of paths,
    pointless CPU side queue)
    
    v2: drop mesa_icd, drop cpp_args, drop extra flags, change meson config (Eric)
    v2.1: use meson-gallium job
    
    meson pieces:
    Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
    
    overall:
    
    Acked-by: default avatarRoland Scheidegger <sroland@vmware.com>
    Part-of: <mesa/mesa!6082>
    b38879f8