mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
i965: Don't try to use fast upload path for nontrivial views
This will eventually be relaxed, but we'll get the fallback path working first. 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
c9c08867ed
commit
ca1d1b2fc1
1 changed files with 4 additions and 0 deletions
|
|
@ -588,6 +588,10 @@ intel_texsubimage_tiled_memcpy(struct gl_context * ctx,
|
|||
if (!mem_copy)
|
||||
return false;
|
||||
|
||||
/* If this is a nontrivial texture view, let another path handle it instead. */
|
||||
if (texImage->TexObject->MinLevel || texImage->TexObject->MinLayer)
|
||||
return false;
|
||||
|
||||
if (for_glTexImage)
|
||||
ctx->Driver.AllocTextureImageBuffer(ctx, texImage);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue