gallivm: nr_channels is only valid for formats with plain layout.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Sep 2010 19:09:00 +0000 (20:09 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 11 Sep 2010 12:34:54 +0000 (13:34 +0100)
commit552e2b5065a931f8787012a94fadf66566982050
treed772135d393eecffa6e17a2adce2d5a12ba04044
parent74f6edaee46505935b21e1d34f621b4aaf52fd35
gallivm: nr_channels is only valid for formats with plain layout.

This is erroneously throwing non plain formats out of the faster
AoS sampling path.

Doing 8bit interpolation for single channels such as L8 should be no
worse than with floating point. But this may need more investigation.
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c