summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-03 08:23:02 -0400
committerTom Stellard <[email protected]>2012-09-19 19:25:53 -0400
commitcfeb99c7daa127f397ae970eba47a181dd02f5d8 (patch)
treedee709ff8a62dd88f4e205726de662bbd834d8e8 /src/mesa
parent69b387fbdc42883fb2e9c27942f97e62ca06be4d (diff)
ra: Clarify usage of ra_set_node_reg()
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/program/register_allocate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c
index f08c9d28d6b..07eb154954d 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().
*/