i964/gs: Move MAX_GS_INPUT_VERTICES to brw_vec4_gs_visitor.h
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Mar 2017 01:17:56 +0000 (17:17 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Mar 2017 00:14:01 +0000 (16:14 -0800)
It's only users are in brw_vec4_gs_visitor and gen6_vec4_gs_visitor.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h

index aa938b6e1ef9ba3e74485dcd1dbca64a6fae5c00..bfe1b392036bdc2a8c8a8421f7d0b693e8148b4f 100644 (file)
@@ -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 {
index 380d6f73aa0fe072ab4627ff5745b59340f4309d..09221f928d10b1362e548306d260f64330df5fef 100644 (file)
@@ -32,6 +32,8 @@
 
 #include "brw_vec4.h"
 
+#define MAX_GS_INPUT_VERTICES 6
+
 #ifdef __cplusplus
 namespace brw {