gallivm: (trivial) fix using one lod instead of per-quad lod for texel fetch
authorRoland Scheidegger <sroland@vmware.com>
Fri, 5 Jul 2013 16:06:17 +0000 (18:06 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 5 Jul 2013 16:07:51 +0000 (18:07 +0200)
commit9ef49cfd841a8cbf280a1a2b66ce90f710e44687
treeb9a23addd79386817b67d73789e30ce276191a3c
parent45f174ce40c8eab006e8f032ffc40703050a639b
gallivm: (trivial) fix using one lod instead of per-quad lod for texel fetch

The logic for choosing number of lods was bogus.
(The code should ultimately handle the case of only one lod even with multiple
quads but currently can't.)
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c