From d525ed1a84fb889ddf380d967b3097fce298f8d4 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 19 Sep 2012 12:23:20 -0400 Subject: [PATCH] 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. --- src/gallium/drivers/radeon/R600GenRegisterInfo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2