aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/macros.h
Commit message (Expand)AuthorAgeFilesLines
* vbo: pass only either uint32_t or uint64_t into ATTR_UNIONMarek Olšák2020-02-111-0/+14
* util: move min/max/clamp macros to util macros.hDave Airlie2016-10-191-13/+0
* mesa/macros: move ALIGN_NPOT to macros.hNanley Chery2015-08-261-0/+10
* mesa/macros: add power-of-two assertions for alignment macrosNanley Chery2015-08-261-2/+12
* mesa: Replace F_TO_I() with _mesa_lroundevenf().Matt Turner2015-08-031-5/+6
* Delete duplicate function is_power_of_two() and use _mesa_is_pow_two()Anuj Phogat2015-07-291-11/+0
* util/macros: Move DIV_ROUND_UP to util/macros.hAxel Davy2015-04-291-4/+1
* mesa: Avoid MSVC C6334 warning in /analyze mode.Jose Fonseca2015-03-251-0/+7
* mesa: remove extra definition of ARRAY_SIZE in src/mesa/main/macros.hBrian Paul2015-03-021-4/+0
* mesa: use fi_type in vertex attribute codeMarius Predut2015-02-251-16/+18
* mesa: remove INV_SQRTF() macroBrian Paul2015-02-241-1/+1
* mesa: Use assert() instead of ASSERT wrapper.Matt Turner2015-02-231-1/+1
* mesa: Use u_math.h from macros.hEric Anholt2015-02-201-17/+1
* mesa: Rename the CEILING() macro to DIV_ROUND_UP().Francisco Jerez2015-02-101-1/+1
* mesa: Replace IS_NEGATIVE(x) with x < 0.0f.Matt Turner2014-09-251-7/+0
* mesa: fix UNCLAMPED_FLOAT_TO_UBYTE() macro for MSVCBrian Paul2014-09-101-4/+4
* mesa: set UniformBooleanTrue = 1.0f by defaultMarek Olšák2014-09-051-0/+7
* mesa: s/INLINE/inline/Brian Paul2014-09-041-2/+2
* mesa: Drop USE_IEEE define.Matt Turner2014-08-071-1/+1
* util: Gather some common macrosJason Ekstrand2014-08-041-1/+3
* mesa: Move is_power_of_two() function from brw_context.h to macros.h.Kenneth Graunke2014-04-081-0/+11
* mesa: Add STRINGIFY macro.Matt Turner2014-01-211-0/+2
* mesa: fix a couple issues with U_FIXED, I_FIXED macrosBrian Paul2013-10-221-3/+3
* mesa: Move U_FIXED/S_FIXED macros from i965 to macros.h.Kenneth Graunke2013-10-131-0/+22
* mesa: Move ROUND_DOWN_TO() macro from i915/i965 to macros.h.Kenneth Graunke2013-10-131-0/+12
* mesa: Fix compiler warnings when ALIGN's alignment is "1 << value".Eric Anholt2013-10-091-1/+1
* mesa: init dst values in COPY_CLEAN_4V_TYPE_AS_FLOAT()Brian Paul2013-08-261-1/+2
* mesa: Fix bug in unclamped float to ubyte conversion.Manfred Ernst2013-06-121-2/+1
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
* mesa: Introduce a globally-available minify() macro.Eric Anholt2013-04-211-0/+6
* Consolidate some redundant definitions of ARRAY_SIZE() macro.Paul Berry2013-02-081-0/+3
* mesa: Add ALIGN() macro to main/macros.h.Paul Berry2013-01-081-0/+13
* vbo: fix glVertexAttribI* functionsMarek Olšák2012-11-061-0/+39
* Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNSMatt Turner2012-09-241-19/+2
* mesa: fix DIFFERENT_SIGNS() functionBrian Paul2012-09-041-1/+1
* mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function.Brian Paul2012-09-031-2/+2
* mesa: move IS_NEGATIVE() and DIFFERENT_SIGNS() to macros.hBrian Paul2012-09-011-0/+32
* mesa: convert a few more macros to inline functionsBrian Paul2012-08-291-22/+21
* mesa: remove COPY_4V_CAST() macroBrian Paul2012-08-291-9/+0
* mesa: convert a bunch of math macros to inline functionsBrian Paul2012-08-291-56/+86
* mesa: use F_TO_I() instead of IROUND()Brian Paul2012-05-191-5/+5
* mesa: new BYTE/SHORT_TO_FLOATZ() macrosBrian Paul2011-11-151-0/+7
* mesa: move CEILING() macro into macros.hBrian Paul2011-11-151-0/+4
* mesa: remove unused macros in macros.hBrian Paul2011-11-151-26/+0
* mesa: remove unused interp/stride chan macrosBrian Paul2011-09-201-27/+0
* mesa: add macros MIN3 and MAX3Marek Olšák2011-04-271-0/+4
* mesa: initial EXT_texture_snorm supportMarek Olšák2011-03-291-2/+1