OSDN Git Service

gallivm: (trivial) fix bogus assertion for per-element lod with 1d resources
authorRoland Scheidegger <sroland@vmware.com>
Thu, 4 Jul 2013 23:18:24 +0000 (01:18 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 4 Jul 2013 23:19:23 +0000 (01:19 +0200)
commit4dbca8672bd357bb036dd40c4d8b8a4dc459abcb
tree45e702881793fc7fbda2e29f0d24496521d307a3
parentf3bbf65929e395360e5565d08d015977dd5b79fa
gallivm: (trivial) fix bogus assertion for per-element lod with 1d resources

The assertion was always broken but the code unused until enabling the
per-element lod code. Fixes piglit texelFetch vs isampler1D and similar
tests (only run with GL 3.0 version override).
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c