Skip to content
  • Paul Berry's avatar
    i965/blorp: Refactor surface format determination. · 040d0157
    Paul Berry authored
    
    
    This patch moves the responsibility for deciding on the format of the
    source and destination surfaces from the
    gen{6,7}_blorp_emit_surface_state() functions to
    brw_blorp_surface_info::set(), which is shared between Gen6 and Gen7.
    This will make it possible to add support for more surface formats
    without code duplication.
    
    Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    040d0157