summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tex_sample.c
AgeCommit message (Collapse)Author
2010-05-12gallivm/llvmpipe: add const qualifiersBrian Paul
2010-05-04gallivm: Proper implementation of TXL opcode.José Fonseca
2010-05-04gallivm: Implement TXD.José Fonseca
2010-04-25llvmpipe: lp_tex_sample_llvm.c -> lp_tex_sample.cJosé Fonseca
'llvm' suffix unnecessary now that the C sampling version disappeared.
2009-09-07llvmpipe: Code generate the texture sampling inside the shader.José Fonseca
Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different.
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