summaryrefslogtreecommitdiff
path: root/src/mesa/main/macros.h
AgeCommit message (Expand)AuthorFilesLines
2016-10-19util: move min/max/clamp macros to util macros.hDave Airlie1-13/+0
2015-08-26mesa/macros: move ALIGN_NPOT to macros.hNanley Chery1-0/+10
2015-08-26mesa/macros: add power-of-two assertions for alignment macrosNanley Chery1-2/+12
2015-08-03mesa: Replace F_TO_I() with _mesa_lroundevenf().Matt Turner1-5/+6
2015-07-29Delete duplicate function is_power_of_two() and use _mesa_is_pow_two()Anuj Phogat1-11/+0
2015-04-29util/macros: Move DIV_ROUND_UP to util/macros.hAxel Davy1-4/+1
2015-03-25mesa: Avoid MSVC C6334 warning in /analyze mode.Jose Fonseca1-0/+7
2015-03-02mesa: remove extra definition of ARRAY_SIZE in src/mesa/main/macros.hBrian Paul1-4/+0
2015-02-25mesa: use fi_type in vertex attribute codeMarius Predut1-16/+18
2015-02-24mesa: remove INV_SQRTF() macroBrian Paul1-1/+1
2015-02-23mesa: Use assert() instead of ASSERT wrapper.Matt Turner1-1/+1
2015-02-20mesa: Use u_math.h from macros.hEric Anholt1-17/+1
2015-02-10mesa: Rename the CEILING() macro to DIV_ROUND_UP().Francisco Jerez1-1/+1
2014-09-25mesa: Replace IS_NEGATIVE(x) with x < 0.0f.Matt Turner1-7/+0
2014-09-10mesa: fix UNCLAMPED_FLOAT_TO_UBYTE() macro for MSVCBrian Paul1-4/+4
2014-09-05mesa: set UniformBooleanTrue = 1.0f by defaultMarek Olšák1-0/+7
2014-09-04mesa: s/INLINE/inline/Brian Paul1-2/+2
2014-08-07mesa: Drop USE_IEEE define.Matt Turner1-1/+1
2014-08-04util: Gather some common macrosJason Ekstrand1-1/+3
2014-04-08mesa: Move is_power_of_two() function from brw_context.h to macros.h.Kenneth Graunke1-0/+11
2014-01-21mesa: Add STRINGIFY macro.Matt Turner1-0/+2
2013-10-22mesa: fix a couple issues with U_FIXED, I_FIXED macrosBrian Paul1-3/+3
2013-10-13mesa: Move U_FIXED/S_FIXED macros from i965 to macros.h.Kenneth Graunke1-0/+22
2013-10-13mesa: Move ROUND_DOWN_TO() macro from i915/i965 to macros.h.Kenneth Graunke1-0/+12
2013-10-09mesa: Fix compiler warnings when ALIGN's alignment is "1 << value".Eric Anholt1-1/+1
2013-08-26mesa: init dst values in COPY_CLEAN_4V_TYPE_AS_FLOAT()Brian Paul1-1/+2
2013-06-12mesa: Fix bug in unclamped float to ubyte conversion.Manfred Ernst1-2/+1
2013-06-05mesa: remove outdated version lines in commentsRico Schüller1-1/+0
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-3/+4
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-1/+1
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke1-1/+1
2013-04-21mesa: Introduce a globally-available minify() macro.Eric Anholt1-0/+6
2013-02-08Consolidate some redundant definitions of ARRAY_SIZE() macro.Paul Berry1-0/+3
2013-01-08mesa: Add ALIGN() macro to main/macros.h.Paul Berry1-0/+13
2012-11-06vbo: fix glVertexAttribI* functionsMarek Olšák1-0/+39
2012-09-24Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNSMatt Turner1-19/+2
2012-09-04mesa: fix DIFFERENT_SIGNS() functionBrian Paul1-1/+1
2012-09-03mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function.Brian Paul1-2/+2
2012-09-01mesa: move IS_NEGATIVE() and DIFFERENT_SIGNS() to macros.hBrian Paul1-0/+32
2012-08-29mesa: convert a few more macros to inline functionsBrian Paul1-22/+21
2012-08-29mesa: remove COPY_4V_CAST() macroBrian Paul1-9/+0
2012-08-29mesa: convert a bunch of math macros to inline functionsBrian Paul1-56/+86
2012-05-19mesa: use F_TO_I() instead of IROUND()Brian Paul1-5/+5
2011-11-15mesa: new BYTE/SHORT_TO_FLOATZ() macrosBrian Paul1-0/+7
2011-11-15mesa: move CEILING() macro into macros.hBrian Paul1-0/+4
2011-11-15mesa: remove unused macros in macros.hBrian Paul1-26/+0
2011-09-20mesa: remove unused interp/stride chan macrosBrian Paul1-27/+0
2011-04-27mesa: add macros MIN3 and MAX3Marek Olšák1-0/+4
2011-03-29mesa: initial EXT_texture_snorm supportMarek Olšák1-2/+1
2010-07-09mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h.Vinson Lee1-0/+35