projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae2bb7
)
mesa: Bump the number of bits in the register index.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 6 Dec 2010 20:01:30 +0000
(20:01 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 6 Dec 2010 20:03:51 +0000
(20:03 +0000)
More than 1023 temporaries were being used for a Cinebench shader before
doing temporary optimization, causing the index value to wrap around to
-1024.
src/mesa/program/prog_instruction.h
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_instruction.h
b/src/mesa/program/prog_instruction.h
index ca90de7ce1c6a4295e6eef1cb17c14f5017a4ca3..a383828e34425f1c65b6802f8b7f4dcd199935c6 100644
(file)
--- 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 1
0
+#define INST_INDEX_BITS 1
1
/**