Skip to content
  • Alyssa Rosenzweig's avatar
    panfrost: Identify fragment_extra flags · 587ad37e
    Alyssa Rosenzweig authored
    
    
    The fragment_extra structure contains additional fields extending the
    MRT framebuffer descriptor, snuck in between the main framebuffer
    descriptor and the render targets. Its fields include those related to
    transaction elimination and depth/stencil buffers. This patch identifies
    the flags field (previously just "unk" with some magic values) as well
    as identifying some (but not all) flags set by the driver.
    
    The process of identifying flags brought a bug to light where
    transaction elimination (checksumming) could not be enabled unless AFBC
    was in-use. This issue is now resolved.
    
    Signed-off-by: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
    Reviewed-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
    587ad37e