Mesa (master): radeon/llvm: Only support 512 constant registers on R600
Tom Stellard
tstellar at kemper.freedesktop.org
Wed Sep 19 18:47:21 UTC 2012
Module: Mesa
Branch: master
Commit: d525ed1a84fb889ddf380d967b3097fce298f8d4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d525ed1a84fb889ddf380d967b3097fce298f8d4
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Wed Sep 19 12:23:20 2012 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/radeon/R600GenRegisterInfo.pl b/src/gallium/drivers/radeon/R600GenRegisterInfo.pl
index a28a3ad..c0a05f5 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;
More information about the mesa-commit
mailing list