ilo: fix textureSize() for single-layered array textures
authorChia-I Wu <olvaffe@gmail.com>
Fri, 7 Jun 2013 07:10:19 +0000 (15:10 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 7 Jun 2013 17:39:47 +0000 (01:39 +0800)
commit7916d5ed88a29177f1dc2a11fbacbd95e512e025
treec05b637423bb9fb7c56940243c500f339b4b1c5a
parentd6c2708e1eb319e577f61ea137471a1966d231ab
ilo: fix textureSize() for single-layered array textures

We returned 0 instead of 1 for the number of layers when the array texutre is
single-layered.  This fixed it on GEN7+.
src/gallium/drivers/ilo/ilo_gpe_gen7.c