summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-11-15 09:16:59 +0000
committerJosé Fonseca <[email protected]>2012-12-04 19:35:18 +0000
commit64f9916314aecaf2af4485162daf38c035f04d62 (patch)
tree80b196cbcae332241a4895c53a6ce115acdc2329 /src/gallium
parent294d8a71efe0d85d7212c9b0f465e8637cc25e77 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h2
1 files changed, 1 insertions, 1 deletions
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