summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-02-28 17:17:56 -0800
committerJason Ekstrand <[email protected]>2017-03-01 16:14:01 -0800
commit81e5bdf072423faca81630334612e1fdcf23a5ac (patch)
treee100bb1ecd4e12b0160c87c6742579b81370c090 /src/mesa/drivers/dri/i965
parentc6a719b64f9837418c4a07e863f8eabbc19c85eb (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h2
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h2
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 {