summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-01-20 20:18:19 +1300
committerChris Forbes <[email protected]>2014-04-10 18:27:41 +1200
commit24f490fb37f5a5b3ab0098aac6e4f6144f4f7029 (patch)
treed21146556c648beb1f3c4e8cd8fc797013241c44 /src/mesa
parent5de52541e52d0a14d70ef7472d08cdc650d4a222 (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex_subimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c b/src/mesa/drivers/dri/i965/intel_tex_subimage.c
index 287b27b02a1..891a46d198f 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)