Re: [Mesa-dev] [PATCH v4 06/12] nvc0: add indirect compute support on Kepler

2016-04-01 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Fri, Apr 1, 2016 at 4:16 PM, Samuel Pitoiset wrote: > The grid size is stored as three 32-bits integers in the indirect > buffer but the launch descriptor uses a 32-bits integer for both > griddim_y and griddim_z like

[Mesa-dev] [PATCH v4 06/12] nvc0: add indirect compute support on Kepler

2016-04-01 Thread Samuel Pitoiset
The grid size is stored as three 32-bits integers in the indirect buffer but the launch descriptor uses a 32-bits integer for both griddim_y and griddim_z like this (z << 16) | y. To make it work, the 16 high bits of griddim_y are overwritten by griddim_z. Changes from v4: - move