--- src/intel/isl/isl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index fcbe2ad..68a92b8 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -678,8 +678,10 @@ isl_surf_choose_dim_layout(const struct isl_device *dev, * * In other words, ISL_DIM_LAYOUT_GEN9_1D is only used for linear * surfaces and, for tiled surfaces, ISL_DIM_LAYOUT_GEN4_2D is used. + * Yf and Ys tiled surfaces are considered to be linear for the + * purposes of handling 1D surfaces. */ - if (tiling == ISL_TILING_LINEAR) + if (tiling == ISL_TILING_LINEAR || isl_tiling_is_std_y(tiling)) return ISL_DIM_LAYOUT_GEN9_1D; else return ISL_DIM_LAYOUT_GEN4_2D; -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev