summaryrefslogtreecommitdiff
path: root/src/sna/compiler.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-02 13:28:43 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-02 23:50:59 +0100
commit791029cc16bca36b8dec82297ff7e07a972c51ab (patch)
tree6761c5dd8a5d9e9c974786841faec4fcdb6479fb /src/sna/compiler.h
parent1f78a934a423911e18d340f0585e31941f6e8663 (diff)
sna/trapezoids: Implement trapezoidal opaque fills inplace
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/compiler.h')
-rw-r--r--src/sna/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/compiler.h b/src/sna/compiler.h
index 364ea62f..653435fa 100644
--- a/src/sna/compiler.h
+++ b/src/sna/compiler.h
@@ -32,6 +32,7 @@
#define likely(expr) (__builtin_expect (!!(expr), 1))
#define unlikely(expr) (__builtin_expect (!!(expr), 0))
#define noinline __attribute__((noinline))
+#define force_inline __attribute__((always_inline))
#define fastcall __attribute__((regparm(3)))
#define must_check __attribute__((warn_unused_result))
#define constant __attribute__((const))
@@ -39,6 +40,7 @@
#define likely(expr) (expr)
#define unlikely(expr) (expr)
#define noinline
+#define force_inline
#define fastcall
#define must_check
#define constant