[Mesa-dev] [PATCH] mesa: fix GetTexImage for 1D array depth textures

Eric Anholt eric at anholt.net
Wed Oct 1 11:17:27 PDT 2014


Dave Airlie <airlied at gmail.com> writes:

> From: Dave Airlie <airlied at redhat.com>
>
> While running piglit in virgl, I hit an assert in intel driver.
>
> "qemu-system-x86_64: intel_tex.c:219: intel_map_texture_image: Assertion `tex_image->TexObject->Target != 0x8C18 || h == 1' failed."
>
> Thanks to Eric and Ken for pointing me in the right direction,
>
> Fix the get_tex_depth to do the same fixup as get_tex_rgba does
> for 1D array textures.

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/20141001/060edbb7/attachment.sig>


More information about the mesa-dev mailing list