Re: [Mesa-dev] [PATCH 2/3] ra: Create a reg_belongs_to_class() helper function.

2014-03-18 Thread Christoph Brill
It's a bit picky as compilers are likely to detect this themselves, but an 'inline' might be nice. Nonetheless I'm in favor for everything that improves code readability, so: Reviewed-By: Christoph Brill Am 17.03.2014 21:32 schrieb "Kenneth Graunke" : > > This is a little easier to read. > > Si

Re: [Mesa-dev] [PATCH 2/3] ra: Create a reg_belongs_to_class() helper function.

2014-03-17 Thread Brian Paul
On 03/17/2014 02:32 PM, Kenneth Graunke wrote: This is a little easier to read. Signed-off-by: Kenneth Graunke --- src/mesa/program/register_allocate.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/

[Mesa-dev] [PATCH 2/3] ra: Create a reg_belongs_to_class() helper function.

2014-03-17 Thread Kenneth Graunke
This is a little easier to read. Signed-off-by: Kenneth Graunke --- src/mesa/program/register_allocate.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c index edde730..c763b96 100644 -