diff options
author | Brian Paul <brianp@vmware.com> | 2009-02-18 11:47:40 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-02-18 13:15:13 -0700 |
commit | 5b2f8dc01300058d43d8043aa897722f39657e93 (patch) | |
tree | 5193cabc06af2b06f2b6c903d41bb3f29134d460 /src/mesa/main/config.h | |
parent | 212f41b80fe00a8d44d79f2c8e4018836adb8b86 (diff) |
mesa: increase MAX_UNIFORMS to 1024 (of vec4 type)
Old limit was 256. Note that no arrays are declared to this size.
The only place we have to be careful about raising this limit is the
prog_src/dst_register Index bitfields. These have been bumped up too.
Added assertions to check we don't exceed the bitfield in the future too.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 9d0cd18e05..7044b61e4a 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -189,7 +189,7 @@ #define MAX_PROGRAM_CALL_DEPTH 8 #define MAX_PROGRAM_TEMPS 128 #define MAX_PROGRAM_ADDRESS_REGS 2 -#define MAX_UNIFORMS 256 /**< number of vec4 uniforms */ +#define MAX_UNIFORMS 1024 /**< number of vec4 uniforms */ #define MAX_VARYING 8 /**< number of float[4] vectors */ #define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS #define MAX_PROGRAM_INPUTS 32 |