[Mesa-dev] [PATCH 10/24] i964/gs: Move MAX_GS_INPUT_VERTICES to brw_vec4_gs_visitor.h

Jason Ekstrand jason at jlekstrand.net
Wed Mar 1 05:03:22 UTC 2017


It's only users are in brw_vec4_gs_visitor and gen6_vec4_gs_visitor.
---
 src/mesa/drivers/dri/i965/brw_context.h         | 2 --
 src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index aa938b6..bfe1b39 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -522,8 +522,6 @@ struct intel_batchbuffer {
    } saved;
 };
 
-#define MAX_GS_INPUT_VERTICES 6
-
 #define BRW_MAX_XFB_STREAMS 4
 
 struct brw_transform_feedback_object {
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h
index 380d6f7..09221f9 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h
@@ -32,6 +32,8 @@
 
 #include "brw_vec4.h"
 
+#define MAX_GS_INPUT_VERTICES 6
+
 #ifdef __cplusplus
 namespace brw {
 
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list