vc4: When asked to sample from a raster texture, make a shadow tiled copy.
authorEric Anholt <eric@anholt.net>
Wed, 8 Apr 2015 19:49:24 +0000 (12:49 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Apr 2015 05:34:06 +0000 (22:34 -0700)
commit44b63cf5c051f7eccfc1d7427247fd58dabb7761
tree1e4736d5ef309074ba465c46a64bd0687213f5b9
parentd04b07f8e2eb61bb389f2d6b8ed0a501952466ee
vc4: When asked to sample from a raster texture, make a shadow tiled copy.

So, it turns out my simulator doesn't *quite* match the hardware.  And the
errata about raster textures tells you most of what's wrong, but there's
still stuff wrong after that.  Instead, if we're asked to sample from
raster, we'll just blit it to a tiled temporary.

Raster textures should only be screen scanout, and word is that it's
faster to copy to tiled using the tiling engine first than to texture from
an entire raster texture, anyway.
src/gallium/drivers/vc4/vc4_state.c