util/ra: Add a getter for a node class
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 24 Jul 2019 18:19:21 +0000 (11:19 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 25 Jul 2019 13:14:12 +0000 (06:14 -0700)
commitb2a3ca6bd5008638acb3c0797a5658be67b96d86
treec55a5b0c879991ca0756739fbc8102f4414c658f
parent688d9b4fb7377466222be68b498ea9f151a54db3
util/ra: Add a getter for a node class

Complements the existing getters and the setter for node class. To be
used in the Panfrost RA refactor.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/register_allocate.c
src/util/register_allocate.h