From: Tom Stellard Date: Wed, 19 Sep 2012 16:23:20 +0000 (-0400) Subject: radeon/llvm: Only support 512 constant registers on R600 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d525ed1a84fb889ddf380d967b3097fce298f8d4;p=mesa.git radeon/llvm: Only support 512 constant registers on R600 This is necessary upcoming encoding changes, since we will only be using 9-bits for register encoding. --- diff --git a/src/gallium/drivers/radeon/R600GenRegisterInfo.pl b/src/gallium/drivers/radeon/R600GenRegisterInfo.pl index a28a3ad1d93..c0a05f54cae 100644 --- a/src/gallium/drivers/radeon/R600GenRegisterInfo.pl +++ b/src/gallium/drivers/radeon/R600GenRegisterInfo.pl @@ -16,7 +16,7 @@ use strict; use warnings; -use constant CONST_REG_COUNT => 1024; +use constant CONST_REG_COUNT => 512; use constant TEMP_REG_COUNT => 128; my $CREG_MAX = CONST_REG_COUNT - 1;