summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-19 12:23:20 -0400
committerTom Stellard <[email protected]>2012-09-19 13:11:36 -0400
commitd525ed1a84fb889ddf380d967b3097fce298f8d4 (patch)
tree46993f6b30271f56b338557f96637762d2c46c6e /src/gallium
parent5abb1f8bdee611b365fcd35f5a7adc9af9dc179f (diff)
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.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/R600GenRegisterInfo.pl2
1 files changed, 1 insertions, 1 deletions
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;