From: Brian Paul Date: Thu, 24 Aug 2006 23:28:01 +0000 (+0000) Subject: According to GL_NV_fragment_program, max frag prog length is 1024 instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebf58ea3a392cbaddc9341b9f68a57da4f333104;p=mesa.git According to GL_NV_fragment_program, max frag prog length is 1024 instructions. Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024. --- diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index cac8cdcbc40..e2ba65ac63b 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