From ebf58ea3a392cbaddc9341b9f68a57da4f333104 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 24 Aug 2006 23:28:01 +0000 Subject: According to GL_NV_fragment_program, max frag prog length is 1024 instructions. Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024. --- src/mesa/main/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index cac8cdcbc4..e2ba65ac63 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -171,7 +171,7 @@ /** For GL_NV_fragment_program */ /*@{*/ -#define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 128 +#define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 1024 /* 72 for GL_ARB_f_p */ #define MAX_NV_FRAGMENT_PROGRAM_TEMPS 96 #define MAX_NV_FRAGMENT_PROGRAM_PARAMS 64 #define MAX_NV_FRAGMENT_PROGRAM_INPUTS 12 -- cgit v1.2.3