mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 19:10:21 +01:00
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:
parent
2953c3d761
commit
a23bdd1fae
3 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue