Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-09 | util: Defined M_SQRT2 when not available. | José Fonseca | |
2010-08-29 | util: remove util_is_pot in favor of util_is_power_of_two | Marek Olšák | |
The function was duplicated. | |||
2010-08-27 | util: fix typo in MAX4 | Keith Whitwell | |
Thanks to Michal for spotting it. | |||
2010-08-27 | util: add MIN4, MAX4 | Keith Whitwell | |
2010-06-22 | u_math: Add align function npot alignments | Jakob Bornecrantz | |
2010-05-31 | gallium/util: Define isfinite and isnan for MSVC. | Chia-I Wu | |
Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega. | |||
2010-05-30 | util: Add inline function for approximate floating point comparison. | José Fonseca | |
2010-02-26 | util: Add util_bswap16. | José Fonseca | |
2010-01-02 | util: Silent potential loss of precision warnings. | José Fonseca | |
Also ensure multiplication doesn't happen for negative numbers. | |||
2009-12-22 | Merge branch 'i965g-restart' | Keith Whitwell | |
Conflicts: configure.ac | |||
2009-12-21 | Merge commit 'origin/master' into i965g-restart | Keith Whitwell | |
Conflicts: SConstruct configs/default configs/linux-dri | |||
2009-12-02 | gallium/util: __builtin_bswap32() is in only gcc 4.3 or later | Brian Paul | |
2009-11-28 | util: Fix bad code. | Corbin Simpson | |
Uf. How embarrassing. | |||
2009-11-28 | util: Improve bitcount. | Corbin Simpson | |
Sorry for not pushing this before, it got lost in stashes. | |||
2009-11-27 | gallium/util: added util_bswap32() | Christoph Bumiller | |
2009-11-27 | Merge branch 'width0' | Roland Scheidegger | |
Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c | |||
2009-11-23 | gallium/util: added util_bitcount() | Brian Paul | |
2009-11-20 | util: Add MAX3 and MIN3. | Corbin Simpson | |
2009-11-19 | gallium: don't use arrays for texture width,height,depth | Keith Whitwell | |
2009-10-31 | i965g: more work on compilation | Keith Whitwell | |
2009-09-27 | util: Add util_next_power_of_two() for rounding a uint up to a POT. | Younes Manton | |
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] |