summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add precision to M_PI constantMatt Turner2011-05-061-1/+1
| | | | | | | | Value found in my math.h header. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: replace ONE_DIV_LN2 constant with M_LOG2EMatt Turner2011-05-061-4/+0
| | | | | | | | | | | | | 1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: Avoid redefining PUBLIC/USE/likely/unlikely macros.José Fonseca2011-03-251-13/+17
|
* glsl: Use M_LOG2E constant instead of calling log2Ian Romanick2010-12-011-0/+4
|
* mesa: Define C99's __func__ macro on MSVC.José Fonseca2010-09-061-0/+12
|
* mesa: Add __printf__ attribute to printf-like functions to get warnings.Eric Anholt2010-09-011-0/+5
|
* Always define int32_t in compiler headers.Chia-I Wu2010-05-311-3/+1
| | | | eglplatform.h no longer defines int32_t.
* mesa: Optimize get.c by using a table-driven approachKristian Høgsberg2010-05-111-0/+7
|
* Fix unmatched parenthesis introduce by previous commitsIan Romanick2010-03-031-1/+1
| | | | | | | | I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-031-6/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: replace questionable CPU_TO_LE32 macro with functionBrian Paul2010-01-201-6/+9
|
* Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-191-1/+2
| | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-161-1/+1
|\ | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/unichrome/via_ioctl.c src/mesa/drivers/dri/unichrome/via_screen.c src/mesa/main/version.h src/mesa/state_tracker/st_atom.c
| * mesa: test for __blrts for CPU_TO_LE32()Brian Paul2009-12-161-1/+1
| | | | | | | | See bug 25663.
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-11-301-1/+6
|\| | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
| * mesa: define 32bit byteswap for AIX.Tom Fogal2009-11-191-1/+6
| | | | | | | | | | | | Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <[email protected]>
* | mesa: Fix missing finite symbol error on Windows.José Fonseca2009-09-241-2/+1
|/ | | | | Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order.
* mesa: separate some finite/pragma Watcom stuffBrian Paul2009-07-271-3/+5
|
* mesa: protect Elements against multiple definitionsKeith Whitwell2009-06-181-2/+2
| | | | Mesa and gallium both have a definition of this macro
* Updated CPU_TO_LE32 to work on darwinJeremy Huddleston2009-03-311-1/+4
|
* mesa: move a bunch of compiler-related stuff into new compiler.h headerBrian Paul2009-02-221-0/+479
This trims down and cleans up imports.h and glheader.h quite a bit.