aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_tex_sample.c
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: make texture border_color dynamic stateBrian Paul2010-09-241-0/+2
|
* llvmpipe: make min/max lod and lod bias dynamic stateBrian Paul2010-09-241-0/+7
| | | | | | Before, changing any of these sampler values triggered generation of new JIT code. Added a new flag for the special case of min_lod == max_lod which is hit during auto mipmap generation.
* llvmpipe: add LP_PERF flag to disable various aspects of rasterizationKeith Whitwell2010-09-161-0/+6
| | | | | | | | Allows disabling various operations (mainly texture-related, but will grow) to try & identify bottlenecks. Unlike LP_DEBUG, this is active even in release builds - which is necessary for performance investigation.
* gallivm/llvmpipe: add const qualifiersBrian Paul2010-05-121-3/+3
|
* gallivm: Proper implementation of TXL opcode.José Fonseca2010-05-041-2/+4
|
* gallivm: Implement TXD.José Fonseca2010-05-041-3/+4
|
* llvmpipe: lp_tex_sample_llvm.c -> lp_tex_sample.cJosé Fonseca2010-04-251-0/+216
| | | | 'llvm' suffix unnecessary now that the C sampling version disappeared.
* llvmpipe: Code generate the texture sampling inside the shader.José Fonseca2009-09-071-1713/+0
| | | | | | | | | | 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.
* llvmpipe: Further abstract the texture sampling generation from TGSI ↵José Fonseca2009-09-071-0/+133
| | | | translation.
* llvmpipe: Texture cache in 4 ubytes instead of 4 floats.José Fonseca2009-08-301-14/+14
| | | | | | | | | 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.
* llvmpipe: Back port recent softpipe-opt improvements from Keith.José Fonseca2009-08-291-92/+385
|
* llvmpipe: Split the texture cache from the color/depth/stencil cache.José Fonseca2009-08-291-10/+10
|
* llvmpipe: shortcircuit repeated lookups of the same tileKeith Whitwell2009-08-291-5/+7
| | | | | | | | | 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.
* llvmpipe: remove backwards dependency from tilecache to llvmpipeKeith Whitwell2009-08-291-21/+11
| | | | | | | | 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.
* llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca2009-08-291-0/+1295