[Mesa-dev] [PATCH 09/15] i965: Enable texture upload fast path with MinLevel
Chris Forbes
chrisf at ijw.co.nz
Tue Jan 21 02:34:25 PST 2014
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 <chrisf at ijw.co.nz>
---
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 93cdc75..b0bad37 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)
--
1.8.5.3
More information about the mesa-dev
mailing list