llvmpipe: fix txq for 1d/2d arrays. (v3)
authorDave Airlie <airlied@redhat.com>
Sat, 8 Dec 2012 06:00:30 +0000 (06:00 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Dec 2012 23:38:01 +0000 (09:38 +1000)
commit8000e7b4b6e2866b42de19448cbf3412cce1f26c
tree14cfeb2dead413a00e6669fd3baeec0ba3cfb90f
parent41f4f094c484b3eb040e1a892f0a5c5533ac7321
llvmpipe: fix txq for 1d/2d arrays. (v3)

Noticed would fail, we were doing two things wrong

a) 1d arrays require the layers in height
b) minifying the layers field.

v2: don't change height code, fixup completely inside txq
as suggested by Roland.

v3: just add minify before texture array size

v1: Reviewed-by: Jose Fonseca <jfonseca@vmware.com>

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c