From: José Fonseca Date: Mon, 6 Dec 2010 20:01:30 +0000 (+0000) Subject: mesa: Bump the number of bits in the register index. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9fa0f3a2f318a7c57163491abe931e86b2cd4c3;p=mesa.git 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. --- diff --git a/src/mesa/program/prog_instruction.h b/src/mesa/program/prog_instruction.h index ca90de7ce1c..a383828e344 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 /**