summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-12-06 20:01:30 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-12-06 20:03:51 +0000
commita9fa0f3a2f318a7c57163491abe931e86b2cd4c3 (patch)
tree4fbce707bb7c02e06849222bc5bd64b54dabd67a
parentcae2bb76c1147d48f75ddd7a058a48d11e72ba03 (diff)
mesa: Bump the number of bits in the register index.
More than 1023 temporaries were being used for a Cinebench shader before doing temporary optimization, causing the index value to wrap around to -1024.
-rw-r--r--src/mesa/program/prog_instruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_instruction.h b/src/mesa/program/prog_instruction.h
index ca90de7ce1..a383828e34 100644
--- a/src/mesa/program/prog_instruction.h
+++ b/src/mesa/program/prog_instruction.h
@@ -247,7 +247,7 @@ typedef enum prog_opcode {
* Number of bits for the src/dst register Index field.
* This limits the size of temp/uniform register files.
*/
-#define INST_INDEX_BITS 10
+#define INST_INDEX_BITS 11
/**