i965/gs: Make MAX_GS_INPUT_VERTICES a #define in brw_context.h.

For scalar VS, I'll need this in brw_fs.cpp as well.  It seems silly to
redeclare it in three places.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Kenneth Graunke 2015-03-12 05:26:40 -07:00
parent 2953c3d761
commit a23bdd1fae
3 changed files with 2 additions and 4 deletions

View file

@ -955,6 +955,8 @@ struct intel_batchbuffer {
} saved;
};
#define MAX_GS_INPUT_VERTICES 6
#define BRW_MAX_XFB_STREAMS 4
struct brw_transform_feedback_object {

View file

@ -30,8 +30,6 @@
#include "brw_vec4_gs_visitor.h"
#include "gen6_gs_visitor.h"
const unsigned MAX_GS_INPUT_VERTICES = 6;
namespace brw {
vec4_gs_visitor::vec4_gs_visitor(const struct brw_compiler *compiler,

View file

@ -31,8 +31,6 @@
#include "gen6_gs_visitor.h"
const unsigned MAX_GS_INPUT_VERTICES = 6;
namespace brw {
void