From: Zack Rusin Date: Wed, 5 Feb 2014 00:33:12 +0000 (-0500) Subject: tgsi/ureg: increase the number of immediates X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a3c99082388f42efac534a4b1d6e211c7cb2806;p=mesa.git 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 Reviewed-by: Jose Fonseca Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index f06858ef177..f928f573099 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