[Mesa-dev] [PATCH 20/21] i965: Explicitly disable Yf and Ys tiling
Jason Ekstrand
jason at jlekstrand.net
Fri Feb 23 07:07:00 UTC 2018
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 59dbfb9..978253a 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -578,6 +578,11 @@ make_surface(struct brw_context *brw, GLenum target, mesa_format format,
num_samples, width0, height0, depth0,
first_level, last_level, mt);
+ /* We don't support Yf or Ys in i965 yet because we use the blitter too
+ * much and it can't handle them.
+ */
+ tiling_flags &= ~ISL_TILING_STD_Y_MASK;
+
struct isl_surf_init_info init_info = {
.dim = get_isl_surf_dim(target),
.format = translate_tex_format(brw, format, false),
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list