[Mesa-dev] [PATCH] i965: Set miptree target field when creating from a BO.

Eric Anholt eric at anholt.net
Fri May 2 16:58:50 PDT 2014


Kenneth Graunke <kenneth at whitecape.org> writes:

> Prior to commit 8435b60a3577d2d905eae189cd7e770500177e99, the region
> equivalent of this function called intel_miptree_create_layout, which
> set mt->target to target.  With that commit, it no longer copied target.
>
> Piglit's ext_image_dma_buf_import-sample_[xa]rgb8888 tests would then
> hit an assertion failure, where image->TexObject->Target was
> GL_TEXTURE_EXTERNAL_OES, and mt->target was GL_TEXTURE_2D.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140502/5bc4af1f/attachment.sig>


More information about the mesa-dev mailing list