Mesa (master): ra: Clarify usage of ra_set_node_reg()

Tom Stellard tstellar at kemper.freedesktop.org
Thu Sep 20 00:06:11 UTC 2012


Module: Mesa
Branch: master
Commit: cfeb99c7daa127f397ae970eba47a181dd02f5d8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfeb99c7daa127f397ae970eba47a181dd02f5d8

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Sep  3 08:23:02 2012 -0400

ra: Clarify usage of ra_set_node_reg()

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/program/register_allocate.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c
index f08c9d2..07eb154 100644
--- a/src/mesa/program/register_allocate.c
+++ b/src/mesa/program/register_allocate.c
@@ -490,6 +490,8 @@ ra_get_node_reg(struct ra_graph *g, unsigned int n)
  * input data).  These nodes do not end up in the stack during
  * ra_simplify(), and thus at ra_select() time it is as if they were
  * the first popped off the stack and assigned their fixed locations.
+ * Nodes that use this function do not need to be assigned a register
+ * class.
  *
  * Must be called before ra_simplify().
  */




More information about the mesa-commit mailing list