[Mesa-dev] [PATCH mesa] i915: add missing 0 defines

Eric Engestrom eric.engestrom at imgtec.com
Mon Dec 4 14:52:28 UTC 2017


Thanks to Emil's -Wundef, t_dd_dmatmp.h now complains that intel_render.c
is missing a couple `#define`s.

Assigning them to 0 keeps the existing behaviour; I'll let someone else
turn them on if this is the behaviour that was intended.

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 src/mesa/drivers/dri/i915/intel_render.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i915/intel_render.c b/src/mesa/drivers/dri/i915/intel_render.c
index c1603565cc2a6157c0bd..a3952826246a7e52aea6 100644
--- a/src/mesa/drivers/dri/i915/intel_render.c
+++ b/src/mesa/drivers/dri/i915/intel_render.c
@@ -62,6 +62,8 @@
 #define HAVE_TRI_FANS    1
 #define HAVE_POLYGONS    1
 
+#define HAVE_QUADS       0
+#define HAVE_QUAD_STRIPS 0
 #define HAVE_ELTS        0
 
 static const uint32_t hw_prim[GL_POLYGON + 1] = {
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list