Re: [Mesa-dev] [PATCH 1/7] i965: Make a helper for finding an existing shader variant.

2017-01-16 Thread Eduardo Lima Mitev
Nice one :) Reviewed-by: Eduardo Lima Mitev On 01/17/2017 08:14 AM, Kenneth Graunke wrote: > We had five copies of the same "walk the cache and look for an > existing shader variant for this program" code. Now we have one > helper function that returns the key. > > Signed-off-by: Kenneth Graun

[Mesa-dev] [PATCH 1/7] i965: Make a helper for finding an existing shader variant.

2017-01-16 Thread Kenneth Graunke
We had five copies of the same "walk the cache and look for an existing shader variant for this program" code. Now we have one helper function that returns the key. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_gs.c| 22 src/mesa/drivers/dri/i965/