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:
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
|
||||
#include "gen6_gs_visitor.h"
|
||||
|
||||
const unsigned MAX_GS_INPUT_VERTICES = 6;
|
||||
|
||||
namespace brw {
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user