This function can be used to avoid creating single register classes for
input/payload registers. This makes optimistic coloring less likely
to fail.
v2: Added Eric Anholt's comment to the function.
---
src/mesa/program/register_allocate.c | 26 +++---
src/mesa/program/regis
On Mon, Apr 25, 2011 at 09:18:40AM -0700, Eric Anholt wrote:
> On Sun, 24 Apr 2011 22:58:59 -0700, Tom Stellard wrote:
> > On Sun, Apr 24, 2011 at 02:00:40PM -0700, Eric Anholt wrote:
> > > On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard
> > > wrote:
> > > > This function makes it possible to i
On Sun, 24 Apr 2011 22:58:59 -0700, Tom Stellard wrote:
> On Sun, Apr 24, 2011 at 02:00:40PM -0700, Eric Anholt wrote:
> > On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard wrote:
> > > This function makes it possible to include input / payload registers in
> > > the interference graph.
> >
> > [
On Sun, Apr 24, 2011 at 02:00:40PM -0700, Eric Anholt wrote:
> On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard wrote:
> > This function makes it possible to include input / payload registers in
> > the interference graph.
>
> [...]
>
> > +/**
> > + * This function allows a user to manually assi
On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard wrote:
> This function makes it possible to include input / payload registers in
> the interference graph.
[...]
> +/**
> + * This function allows a user to manually assign a register to a node. This
> + * is useful for nodes that belong to regis
This function makes it possible to include input / payload registers in
the interference graph.
---
src/mesa/program/register_allocate.c | 21 ++---
src/mesa/program/register_allocate.h |1 +
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/src/mesa/program/reg