tgsi: Increase maximum number of temps to 4096.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 15 Nov 2012 09:16:59 +0000 (09:16 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 19:35:18 +0000 (19:35 +0000)
To match Shader Model 4 limits, as specified in
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471378.aspx

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.h

index fc1ee09abf33ad541c01e5b9f3c1993e5442b9b9..fbd28a243392aaafc9486a3c3eaebaf4df74b52c 100644 (file)
@@ -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