Re: [Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

2016-04-01 Thread Ilia Mirkin
On Fri, Apr 1, 2016 at 11:16 AM, Ilia Mirkin wrote: > On Fri, Apr 1, 2016 at 10:20 AM, Samuel Pitoiset > wrote: >> >> >> On 04/01/2016 07:21 AM, Ilia Mirkin wrote: >>> >>> As I recall, we already upload ms offsets for fs. Perhaps reuse the same >>> spot for these CP ones? What are they used for,

Re: [Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

2016-04-01 Thread Ilia Mirkin
On Fri, Apr 1, 2016 at 10:20 AM, Samuel Pitoiset wrote: > > > On 04/01/2016 07:21 AM, Ilia Mirkin wrote: >> >> As I recall, we already upload ms offsets for fs. Perhaps reuse the same >> spot for these CP ones? What are they used for, anyways? Can't think of >> anything offhand, but perhaps opencl

Re: [Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

2016-04-01 Thread Samuel Pitoiset
On 04/01/2016 07:21 AM, Ilia Mirkin wrote: As I recall, we already upload ms offsets for fs. Perhaps reuse the same spot for these CP ones? What are they used for, anyways? Can't think of anything offhand, but perhaps opencl needs something funky? Where do we upload ms offset for fs ? Because

Re: [Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

2016-03-31 Thread Ilia Mirkin
As I recall, we already upload ms offsets for fs. Perhaps reuse the same spot for these CP ones? What are they used for, anyways? Can't think of anything offhand, but perhaps opencl needs something funky? On Mar 31, 2016 12:09 PM, "Samuel Pitoiset" wrote: > Instead of using the screen->parm buffe

[Mesa-dev] [PATCH v2 01/13] nvc0: bind driver cb for compute on c7[] for Kepler

2016-03-31 Thread Samuel Pitoiset
Instead of using the screen->parm buffer object which will be removed, upload auxiliary constants to uniform_bo to be consistent regarding what we already do for Fermi. This breaks surfaces support (for compute only) but this will be properly re-introduced later for ARB_shader_image_load_store. S