From: Jason Ekstrand Date: Wed, 1 Mar 2017 01:17:56 +0000 (-0800) Subject: i964/gs: Move MAX_GS_INPUT_VERTICES to brw_vec4_gs_visitor.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81e5bdf072423faca81630334612e1fdcf23a5ac;p=mesa.git i964/gs: Move MAX_GS_INPUT_VERTICES to brw_vec4_gs_visitor.h It's only users are in brw_vec4_gs_visitor and gen6_vec4_gs_visitor. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index aa938b6e1ef..bfe1b392036 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 380d6f73aa0..09221f928d1 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 {