Skip to content
  • Rob Clark's avatar
    freedreno/a3xx: refactor vertex state emit · d5d80b37
    Rob Clark authored
    
    
    Get rid of fd3_vertex_buf and use fd_vertex_state directly for all
    draws.  Removes a tiny bit of CPU overhead for munging around the vertex
    state every time it is emitted, but more importantly it cleans things up
    for later optimizations, so the emit paths don't have to special case
    internal draws (gmem<->mem, clears, etc) with regular draws.
    
    Instead of constructing fd3_vertex_buf array each time for internal
    draws, and context init time pre-create solid_vbuf_state and
    blit_vbuf_state.
    
    Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
    d5d80b37