OSDN Git Service

common: Fix PBOs for 1D_ARRAY.
authorLaura Ekstrand <laura@jlekstrand.net>
Thu, 19 Feb 2015 01:17:38 +0000 (17:17 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Wed, 25 Feb 2015 01:33:44 +0000 (17:33 -0800)
commit546aba143d13ba3f993ead4cc30b2404abfc0202
tree15c3c3366fb36c1595479aca7148e8953d336ffd
parentccc5ce6f72c1ec86be4dfcef96c0b51fba0faa6d
common: Fix PBOs for 1D_ARRAY.

Corrects the way that _mesa_meta_pbo_TexSubImage and
_mesa_meta_pbo_GetTexSubImage handle 1D_ARRAY textures.  Fixes a failure in
the Piglit arb_direct_state_access/gettextureimage-targets test.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Tested-by: Laura Ekstrand <laura@jlekstrand.net>
Cc: "10.4, 10.5" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/common/meta_tex_subimage.c