Re: [Mesa-dev] [PATCH 2/2] Added missing address space checking of kernel parameters

2013-07-23 Thread Tom Stellard
On Mon, Jul 22, 2013 at 09:24:56AM -0400, Jonathan Charest wrote: > To have non-static buffers in local memory, it is necessary to pass them > as arguments to the kernel. > > For r600, the correct lds size must be set to the SQ_LDS_ALLOC register. > The correct size is the clover size plus the siz

[Mesa-dev] [PATCH 2/2] Added missing address space checking of kernel parameters

2013-07-22 Thread Jonathan Charest
To have non-static buffers in local memory, it is necessary to pass them as arguments to the kernel. For r600, the correct lds size must be set to the SQ_LDS_ALLOC register. The correct size is the clover size plus the size reported by the compiler. --- src/gallium/drivers/r600/evergreen_compute