diff options
author | Jason Ekstrand <[email protected]> | 2016-07-08 17:24:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-13 11:47:37 -0700 |
commit | 0bd3a7e931b0cfd5aa81f37c43c330d6ae656a49 (patch) | |
tree | b627e15a5c2dbbafe116dd96ca10d0eabff02c48 /src/intel/isl/isl_surface_state.c | |
parent | 4b62c19c323f79e7cc4feff5845996e8dde8daaf (diff) |
isl: Change the physical size of a W-tile to 128x32
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index b2317d81bdc..c65126db880 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -298,16 +298,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state, s.SurfaceVerticalAlignment = isl_to_gen_valign[image_align.height]; s.SurfaceHorizontalAlignment = isl_to_gen_halign[image_align.width]; - if (info->surf->tiling == ISL_TILING_W) { - /* From the Broadwell PRM documentation for this field: - * - * "If the surface is a stencil buffer (and thus has Tile Mode set - * to TILEMODE_WMAJOR), the pitch must be set to 2x the value - * computed based on width, as the stencil buffer is stored with - * two rows interleaved." - */ - s.SurfacePitch = info->surf->row_pitch * 2 - 1; - } else if (info->surf->dim_layout == ISL_DIM_LAYOUT_GEN9_1D) { + if (info->surf->dim_layout == ISL_DIM_LAYOUT_GEN9_1D) { /* For gen9 1-D textures, surface pitch is ignored */ s.SurfacePitch = 0; } else { |