diff options
author | Zack Rusin <zackr@vmware.com> | 2014-02-04 19:33:12 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2014-02-05 19:40:53 -0500 |
commit | 8a3c99082388f42efac534a4b1d6e211c7cb2806 (patch) | |
tree | 1f5aebe8697086e702a88936d948b4c16113ca0b /src/gallium/auxiliary/tgsi | |
parent | efb152dd04ad3debfbb510b68a905a5ccb805fbe (diff) | |
download | external_mesa3d-8a3c99082388f42efac534a4b1d6e211c7cb2806.zip external_mesa3d-8a3c99082388f42efac534a4b1d6e211c7cb2806.tar.gz external_mesa3d-8a3c99082388f42efac534a4b1d6e211c7cb2806.tar.bz2 |
tgsi/ureg: increase the number of immediates
ureg_program is allocated on the heap so we can just bump the
number of immediates that it can handle. It's needed for d3d10.
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index f06858e..f928f57 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -77,7 +77,7 @@ struct ureg_tokens { #define UREG_MAX_SYSTEM_VALUE PIPE_MAX_ATTRIBS #define UREG_MAX_OUTPUT PIPE_MAX_SHADER_OUTPUTS #define UREG_MAX_CONSTANT_RANGE 32 -#define UREG_MAX_IMMEDIATE 256 +#define UREG_MAX_IMMEDIATE 4096 #define UREG_MAX_ADDR 2 #define UREG_MAX_PRED 1 #define UREG_MAX_ARRAY_TEMPS 256 |