From: José Fonseca Date: Thu, 15 Nov 2012 09:16:59 +0000 (+0000) Subject: tgsi: Increase maximum number of temps to 4096. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64f9916314aecaf2af4485162daf38c035f04d62;p=mesa.git tgsi: Increase maximum number of temps to 4096. To match Shader Model 4 limits, as specified in http://msdn.microsoft.com/en-us/library/windows/desktop/ff471378.aspx Reviewed-by: Brian Paul --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index fc1ee09abf3..fbd28a24339 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h @@ -128,7 +128,7 @@ struct tgsi_sampler float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]); }; -#define TGSI_EXEC_NUM_TEMPS 128 +#define TGSI_EXEC_NUM_TEMPS 4096 #define TGSI_EXEC_NUM_IMMEDIATES 256 #define TGSI_EXEC_NUM_TEMP_ARRAYS 8