Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-23 | Merge branch 'softpipe-opt' | Keith Whitwell | |
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c | |||
2009-09-14 | util: Add _BitScanForward intrinsic's declaration. | José Fonseca | |
It is missing in some Microsoft DDKs. | |||
2009-09-07 | util: Utility function to check if a number is a power of two. | José Fonseca | |
2009-09-03 | aux/tgsi: pull back ureg work from 0.1 branch | Keith Whitwell | |
Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge. | |||
2009-08-29 | util: Add util_unsigned_logbase2. | José Fonseca | |
Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5. | |||
2009-08-21 | util: add util_is_power_of_two function | Keith Whitwell | |
2009-08-07 | gallium: Move minify() to u_math. | Corbin Simpson | |
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3 | |||
2009-08-03 | gallium: comments, reformatting | Brian Paul | |
2009-08-01 | mesa st: Move logbase2 function to util/u_math.h | Patrice Mandin | |
2009-07-22 | softpipe: shortcircuit repeated lookups of the same tile | Keith Whitwell | |
The sp_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-03-31 | gallium: added util_is_inf_or_nan() function to u_math.h | Brian Paul | |
2009-03-25 | util: Don't use x86 asm on x86_64. | José Fonseca | |
2009-02-18 | util: Move p_debug.h into util module. | José Fonseca | |
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | |||
2009-01-30 | util: Define ffs for MinGW. | José Fonseca | |
2008-11-19 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
2008-11-17 | gallium: Use costum log2 for all windows builds. | José Fonseca | |
2008-11-15 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/drivers/dri/common/dri_util.c | |||
2008-11-14 | gallium: increase table size for fast log/pow functions | Brian Paul | |
The various conformance tests pass now. | |||
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-09 | util: Fix util_fast_pow/exp2/log2. | Brian | |
- Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h | |||
2008-11-03 | gallium: WinCE portability fixes. | José Fonseca | |
2008-10-01 | util: Fix util_fast_pow/exp2/log2. | José Fonseca | |
- Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. | |||
2008-09-26 | util: Update fast_log2 article url. | José Fonseca | |
2008-09-18 | util: Add missing p_debug.h include. | José Fonseca | |
2008-09-13 | gallium: add another value check to util_fast_pow() | Brian Paul | |
Fixes glitches seen in morph3d demo. | |||
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-22 | gallium: insert __cplusplus/extern wrappings | Brian Paul | |
2008-08-22 | gallium: move math macros from p_util.h to u_math.h | Brian Paul | |
More can be done... | |||
2008-08-22 | gallium: new u_math.[ch] files for math functions | Brian Paul | |
So far, optimized/low-precision versions of exp(), exp2(), log2(), pow(). |