summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xa
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-05-01 23:33:53 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-05-02 23:05:37 -0700
commit829cb0423d18331b9ba0b6098e2b312ff2ce6053 (patch)
tree66eade39be01feac59b8aa7f2f1c2fa32e7739ad /src/gallium/state_trackers/xa
parent64c4670dd6a0e2c0d7178ba9405db7c06eb94e90 (diff)
downloadexternal_mesa3d-829cb0423d18331b9ba0b6098e2b312ff2ce6053.zip
external_mesa3d-829cb0423d18331b9ba0b6098e2b312ff2ce6053.tar.gz
external_mesa3d-829cb0423d18331b9ba0b6098e2b312ff2ce6053.tar.bz2
i965: Set miptree target field when creating from a BO.
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. Copying the target fixes this assertion failure. Cc: "10.2" <mesa-stable@lists.freedesktop.org> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/gallium/state_trackers/xa')
0 files changed, 0 insertions, 0 deletions