[Mesa-dev] [PATCH 1/9] tgsi: Increase maximum number of temps to 4096.

jfonseca at vmware.com jfonseca at vmware.com
Tue Dec 4 06:13:44 PST 2012


From: José Fonseca <jfonseca at vmware.com>

To match Shader Model 4 limits, as specified in
http://msdn.microsoft.com/en-us/library/windows/desktop/ff471378.aspx
---
 src/gallium/auxiliary/tgsi/tgsi_exec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index fc1ee09..fbd28a2 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
 
-- 
1.7.9.5



More information about the mesa-dev mailing list