mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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 <chrisf@ijw.co.nz> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
5de52541e5
commit
24f490fb37
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue