Re: [Mesa-dev] [PATCH 12/20] radeonsi: rework compute scratch buffer

2016-04-05 Thread Marek Olšák
On Mon, Apr 4, 2016 at 6:51 PM, Marek Olšák wrote: > On Sat, Apr 2, 2016 at 3:10 PM, Bas Nieuwenhuizen > wrote: >> Instead of having a scratch buffer per program, have one per >> context. >> >> Also removed the per kernel wave count calculations, but >> that only helped if the total number of wav

Re: [Mesa-dev] [PATCH 12/20] radeonsi: rework compute scratch buffer

2016-04-04 Thread Marek Olšák
On Sat, Apr 2, 2016 at 3:10 PM, Bas Nieuwenhuizen wrote: > Instead of having a scratch buffer per program, have one per > context. > > Also removed the per kernel wave count calculations, but > that only helped if the total number of waves in the dispatch > was smaller than sctx->scratch_waves. >

[Mesa-dev] [PATCH 12/20] radeonsi: rework compute scratch buffer

2016-04-02 Thread Bas Nieuwenhuizen
Instead of having a scratch buffer per program, have one per context. Also removed the per kernel wave count calculations, but that only helped if the total number of waves in the dispatch was smaller than sctx->scratch_waves. Signed-off-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si