• Rob Clark's avatar
    freedreno/a6xx: fix resource_copy_region() · 0ac5acae
    Rob Clark authored
    
    
    pctx->resource_copy_region() needs to fall back to sw copy for
    non-renderable formats.  But previously for things that we could
    not use the blitter for, would fall back to 3d.  Which won't work
    if 3d can't render to the dst format either.
    
    Instead rework things to fallback to fd_resource_copy_region(),
    which will try 3d core and then fall back to memcpy().
    
    Fixes (for example) dEQP-GLES3.functional.texture.format.sized.2d.rgb9_e5_pot
    Signed-off-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
    0ac5acae
fd6_blitter.c 19.5 KB