[Mesa-dev] [PATCH 3/7] i965: Define the GEN macro to brw->gen.
Matt Turner
mattst88 at gmail.com
Tue Jun 10 21:57:19 PDT 2014
From: Kenneth Graunke <kenneth at whitecape.org>
In the future, it will be possible to replace it with a constant in
order to build custom drivers micro-optimized for a particular device.
For now, there is no actual change.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 5809dc6..53ca47d 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -23,6 +23,9 @@
include Makefile.sources
+AM_CPPFLAGS = \
+ -DGEN='brw->gen'
+
AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/ \
--
1.8.3.2
More information about the mesa-dev
mailing list