From 81e5bdf072423faca81630334612e1fdcf23a5ac Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 28 Feb 2017 17:17:56 -0800 Subject: [PATCH] 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 --- 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 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 { -- 2.30.2