diff options
author | Brian Paul <[email protected]> | 2009-06-08 09:42:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-08 09:53:00 -0600 |
commit | 0bced6a326e3520d2b280b4f6cdaadf843ce1d2d (patch) | |
tree | fe49c29f659aaf1bc1cfffec0742f8b52aa317aa /src/mesa | |
parent | 0d3c8fbf12289a8cc081c2d68e810c4bf29d1f8d (diff) |
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 2a9fdf9ca05..bd66a4c2317 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -180,7 +180,7 @@ /*@{*/ #define MAX_PROGRAM_INSTRUCTIONS (16 * 1024) #define MAX_PROGRAM_LOCAL_PARAMS 256 /**< per-program constants (power of two) */ -#define MAX_PROGRAM_ENV_PARAMS 128 +#define MAX_PROGRAM_ENV_PARAMS 256 /**< per-context constants (power of two) */ #define MAX_PROGRAM_MATRICES 8 #define MAX_PROGRAM_MATRIX_STACK_DEPTH 4 #define MAX_PROGRAM_CALL_DEPTH 8 @@ -197,7 +197,7 @@ /*@{*/ #define MAX_NV_VERTEX_PROGRAM_INSTRUCTIONS 128 #define MAX_NV_VERTEX_PROGRAM_TEMPS 12 -#define MAX_NV_VERTEX_PROGRAM_PARAMS MAX_PROGRAM_ENV_PARAMS +#define MAX_NV_VERTEX_PROGRAM_PARAMS 96 #define MAX_NV_VERTEX_PROGRAM_INPUTS 16 #define MAX_NV_VERTEX_PROGRAM_OUTPUTS 15 /*@}*/ |