Skip to content
  • Juan A. Suárez's avatar
    v3d: implement tile buffer blits · 487dd96c
    Juan A. Suárez authored
    
    
    This implements blit operation using the TLB.
    
    It uses a source color buffer (bbuf) which will be blitted to color
    buffer 0.
    
    It also takes in account the number of samples for the input and output
    so it can perform multisample resolve.
    
    v1:
     - Fix comment (Iago)
     - Removed needless brackets (Iago)
     - Ensure msaa is correctly set (Iago)
     - Get rid of job->resolve (Iago)
     - Add rbuf as part of job's key (Iago)
     - Rename rbuf/rsurf by bbuf/bsurf (Iago)
     - Revert needless change (Iago)
    
    v2:
     - Remove spurious change (Iago)
     - Add assert for safety reasons (Iago)
     - Add brackets in condition (Iago)
     - Fix commit message and title (Iago)
     - Do tile blit only for version >=4.0 (Iago)
    
    v3:
     - Add assertion (Iago)
     - Fix comment (Iago)
     - Change commit title (Iago)
    
    Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
    Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>
    Part-of: <mesa!7816>
    487dd96c