Skip to content
  • Alyssa Rosenzweig's avatar
    panfrost: Use Midgard-specific reloads · 293f2518
    Alyssa Rosenzweig authored
    
    
    v2: Be more explicit about sampler types. Prefer the term "load" to
    "resolve" to match VK convention. Generate shaders for MRT 8x.  Blit
    shader generation adds about 6ms to startup cost. We could cache thes.
    shaders to disk if we needed to (or indeed, ship binaries).
    
    v3: Fallback on u_blitter on Bifrost so Bifrost continues to work.
    KHR_partial_update support is mostly no-oped on Bifrost now, but that's
    okay for now - compositors are still functional.
    
    v4: Specialize on multisample state as well to enable reloads of MSAA
    textures. This requires 2x the shader variants, so I assume we're up to
    12ms startup cost for generation. Annoying. Also fix interactions with
    depth- or stencil-only clears of combined depth-stencil surfaces.
    
    v5: Cache to the device (screen) instead of the context, reducing
    duplicated work in apps that create many contexts (e.g. Chromium)
    
    v6: Squash in KHR_partial_update cleanup to fix intermediate
    regressions on a few tests.
    
    Signed-off-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    Part-of: <mesa!5824>
    293f2518