projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11d2973
)
nvfx: fix inlinining in nv04_2d.c
author
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 19:21:34 +0000
(21:21 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 20:45:21 +0000
(22:45 +0200)
src/gallium/drivers/nvfx/nv04_2d.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nv04_2d.c
b/src/gallium/drivers/nvfx/nv04_2d.c
index c05312219b6423d01d223ddd684b94dd1ad98af2..ef07e542c2190aaa4b48a1f7c8d504f3fe371a50 100644
(file)
--- a/
src/gallium/drivers/nvfx/nv04_2d.c
+++ b/
src/gallium/drivers/nvfx/nv04_2d.c
@@
-107,7
+107,7
@@
static inline unsigned log2i(unsigned i)
//#define NV04_REGION_DEBUG
// Yes, we really want to inline everything, since all the functions are used only once
-#if defined(__GNUC__) && defined(DEBUG)
+#if defined(__GNUC__) &&
!
defined(DEBUG)
#define inline __attribute__((always_inline)) inline
#endif