From 24f490fb37f5a5b3ab0098aac6e4f6144f4f7029 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 20 Jan 2014 20:18:19 +1300 Subject: [PATCH] i965: Enable texture upload fast path with MinLevel We'll still avoid MinLayer here since the fast path doesn't understand arrays at all, but it's straightforward to do levels. Signed-off-by: Chris Forbes Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Acked-by: Eric Anholt --- src/mesa/drivers/dri/i965/intel_tex_subimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c b/src/mesa/drivers/dri/i965/intel_tex_subimage.c index 287b27b..891a46d 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_subimage.c +++ b/src/mesa/drivers/dri/i965/intel_tex_subimage.c @@ -589,7 +589,7 @@ intel_texsubimage_tiled_memcpy(struct gl_context * ctx, return false; /* If this is a nontrivial texture view, let another path handle it instead. */ - if (texImage->TexObject->MinLevel || texImage->TexObject->MinLayer) + if (texImage->TexObject->MinLayer) return false; if (for_glTexImage) -- 2.7.4