mesa: Fix MaxNumLayers for 1D array textures.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 7 May 2014 21:35:42 +0000 (14:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 8 May 2014 06:42:11 +0000 (23:42 -0700)
commit5c399ca8e4ccae509a5116b3b9f41634a7ca4322
tree7298efd2cef74663f10d76d54113d1a680c70c9e
parentecfc418b68d3368df0f72116adad153c19d8c6d8
mesa: Fix MaxNumLayers for 1D array textures.

1D array targets store the number of slices in the Height field.

Cc: "10.2 10.1 10.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/fbobject.c