summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tex_sample.c
AgeCommit message (Collapse)Author
2009-09-07llvmpipe: Further abstract the texture sampling generation from TGSI ↵José Fonseca
translation.
2009-08-30llvmpipe: Texture cache in 4 ubytes instead of 4 floats.José Fonseca
This is more a short term experiment than a long term commitment, as we'll need to support higher precision textures too, as this will all be be replaced by runtime generated code. With this change most Mesa demos fps increased around 10%. Not a huge improvement, but not a negligible one either.
2009-08-29llvmpipe: Back port recent softpipe-opt improvements from Keith.José Fonseca
2009-08-29llvmpipe: Split the texture cache from the color/depth/stencil cache.José Fonseca
2009-08-29llvmpipe: shortcircuit repeated lookups of the same tileKeith Whitwell
The lp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
2009-08-29llvmpipe: remove backwards dependency from tilecache to llvmpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie llvmpipe). Remove llvmpipe parameter to all the tilecache function calls, and also remove the need to keep a llvmpipe pointer in the sampler structs.
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca