On Thu, Feb 22, 2018 at 11:06:57PM -0800, Jason Ekstrand wrote: > --- > src/intel/isl/isl_storage_image.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/src/intel/isl/isl_storage_image.c > b/src/intel/isl/isl_storage_image.c > index 0ae79a2..b0556c7 100644 > --- a/src/intel/isl/isl_storage_image.c > +++ b/src/intel/isl/isl_storage_image.c > @@ -233,6 +233,17 @@ isl_surf_fill_image_param(const struct isl_device *dev, > view->base_array_layer; > } > > + if (isl_tiling_is_std_y(surf->tiling)) { > + /* The shader code for doing manual tiling calculations doesn't support > + * Yf or Ys tiling. Fortunately, we never need it on gen9 where Yf and > + * Ys were added. > + */ > + assert(ISL_DEV_GEN(dev) >= 9); > + assert(isl_has_matching_typed_storage_image_format(dev->info, > + view->format)); > + return; > + } > +
Ah, this was really straight-forward afterall - isl_has_matching_typed_storage_image_format() controls if manual tiling is needed and it specifically bails out for gen >= 9. This patch is: Reviewed-by: Topi Pohjolainen <topi.pohjolai...@intel.com> > uint32_t tile_z_el, phys_array_layer; > isl_surf_get_image_offset_el(surf, view->base_level, > surf->dim == ISL_SURF_DIM_3D ? > -- > 2.5.0.400.gff86faf > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev