Re: [Mesa-dev] [PATCH 1/2] intel/batch_decoder: Recurse for all 2nd level batches

2018-07-09 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 10/07/18 00:01, Jason Ekstrand wrote: Our attempt to restart the loop with the second level batch worked at one point but got broken at some point. It was too fragile anyway and we're not likely to have enough secondaries to actually overflow the stack so we

[Mesa-dev] [PATCH 1/2] intel/batch_decoder: Recurse for all 2nd level batches

2018-07-09 Thread Jason Ekstrand
Our attempt to restart the loop with the second level batch worked at one point but got broken at some point. It was too fragile anyway and we're not likely to have enough secondaries to actually overflow the stack so we may as well recurse in both cases. --- src/intel/common/gen_batch_decoder.c