[Mesa-dev] [PATCH v2 00/35] i965: Rework blorp to use ISL internally

Jason Ekstrand jason at jlekstrand.net
Tue Jul 26 22:01:51 UTC 2016

This series is mostly just a resend of an earlier series that makes blorp
use ISL internally.  The original series can be found here:


The patches haven't really changed but they've been rebased and a few new
patches squashed in as other i965 bits have changed.

Jason Ekstrand (35):
  isl: Fix the parameter names for get_intratile_offset
  i965/miptree: Remove the stencil_as_y_tiled parameter from
  isl/state: Use a valid alignment for 1-D textures
  i965/blorp/clear: Initialize surface info after allocating an MCS
  i965/blorp: Create the isl_surf up-front
  i965/blorp: Remove compute_tile_offsets
  i965/blorp: Get rid of brw_blorp_surface_info::map_stencil_as_y_tiled
  i965/blorp: Make sample count asserts a bit more lazy
  i965/blorp: Get rid of brw_blorp_surface_info::num_samples
  i965/blorp: Use the ISL aux_layout for deciding whether to do an MCS
  i965/blorp: Use isl_msaa_layout instead of intel_msaa_layout
  i965/blorp: Get rid of brw_blorp_surface_info::array_layout
  i965/blorp: Refactor interleaved multisample destination handling
  i965/blorp: Move intratile offset calculations out of surface state
  i965/blorp: Add an isl_view to blorp_surface_info
  isl: Fix get_image_offset_sa_gen4_2d for multisample surfaces
  isl: Add functions for computing surface offsets in samples
  i965/blorp: Use ISL to compute image offsets
  i965/blorp: Move surface offset calculations into a helper
  i965/blorp: Get rid of brw_blorp_surface_info::width/height
  i965/blorp: Use the isl_view from the blorp_surface_info
  isl: Remove duplicate px->sa conversions
  isl: Take the slice0_extent shortcut for interleaved MSAA
  i965/miptree: Fill out the isl_surf::usage field
  i965/blorp: Map 1-D render targets with DIM_LAYOUT_GEN4_2D as 2D on
  i965/blorp: Rework hiz rect alignment calculations
  i965/blorp: Pass the Z component into all texture operations
  i965/blorp: Add a z_offset field to blorp_surface_info
  i965/blorp: Only do offset hacks for fake W-tiling and IMS
  isl: Add asserts for gen8+ X/YOffset rules
  i965/blorp: Use the generic surface state path for gen8 textures
  i965/blorp: Simplify depth buffer state setup a bit
  i965/blorp: Remove unused fields from blorp_surface_info
  isl: Add a #define for DEV_IS_BAYTRAIL
  isl/state: Add an assertion for IVB multisample array textures

 src/intel/isl/isl.c                              |  59 ++-
 src/intel/isl/isl.h                              |  60 ++-
 src/intel/isl/isl_surface_state.c                |  25 +-
 src/mesa/drivers/dri/i965/brw_blorp.c            | 290 +++++++-------
 src/mesa/drivers/dri/i965/brw_blorp.h            | 112 +-----
 src/mesa/drivers/dri/i965/brw_blorp_blit.cpp     | 468 +++++++++++++----------
 src/mesa/drivers/dri/i965/brw_blorp_clear.cpp    |  12 +-
 src/mesa/drivers/dri/i965/brw_misc_state.c       |   6 +-
 src/mesa/drivers/dri/i965/brw_state.h            |   7 -
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |   2 +-
 src/mesa/drivers/dri/i965/gen6_blorp.c           |  44 +--
 src/mesa/drivers/dri/i965/gen7_blorp.c           |  48 +--
 src/mesa/drivers/dri/i965/gen8_blorp.c           |  73 +---
 src/mesa/drivers/dri/i965/intel_mipmap_tree.c    |  30 +-
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h    |   1 -
 15 files changed, 608 insertions(+), 629 deletions(-)


More information about the mesa-dev mailing list