update MAX_INSTRUCTIONS limit

This commit is contained in:
Brian Paul
2006-08-24 23:37:13 +00:00
parent ebf58ea3a3
commit 6211a14137

View File

@@ -36,11 +36,14 @@
#include "grammar_mesa.h"
#include "program.h"
#include "context.h"
#include "macros.h"
#include "mtypes.h"
#include "program_instruction.h"
#define MAX_INSTRUCTIONS 256
/* For ARB programs, use the NV instruction limits */
#define MAX_INSTRUCTIONS MAX2(MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS, \
MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS)
/**