Re: [Mesa-dev] [PATCH 4/7] mesa/st: a bit of basic_variant refactoring

2016-09-12 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Sep 8, 2016 at 10:30 PM, Rob Clark wrote: > Add a helper to initialize the key, and pass the key into the helper > that iterates the variants, similar to how it works for vp/fp variants. > > The 'prog' arg to the helper gets used in a following patch, and

[Mesa-dev] [PATCH 4/7] mesa/st: a bit of basic_variant refactoring

2016-09-08 Thread Rob Clark
Add a helper to initialize the key, and pass the key into the helper that iterates the variants, similar to how it works for vp/fp variants. The 'prog' arg to the helper gets used in a following patch, and is the reason to pass the key into st_get_basic_variant(). Signed-off-by: Rob Clark --- s