Re: [Mesa-dev] [PATCH RFC] clover: clone pipe-resource if root-buffer already exists

2017-03-07 Thread Jan Vesely
On Fri, 2017-03-03 at 14:45 -0800, Francisco Jerez wrote: > Jan Vesely writes: > > > Fixes cl-api-enqueue-read_write-buffer on carrizo+topaz machine > > > > Signed-off-by: Jan Vesely > > --- > > I'm not sure if cloning is the right thigh to do. > > Should we copy the pointer and increase ref co

Re: [Mesa-dev] [PATCH RFC] clover: clone pipe-resource if root-buffer already exists

2017-03-03 Thread Francisco Jerez
Jan Vesely writes: > Fixes cl-api-enqueue-read_write-buffer on carrizo+topaz machine > > Signed-off-by: Jan Vesely > --- > I'm not sure if cloning is the right thigh to do. > Should we copy the pointer and increase ref count instead? > > PS: the assert did not trigger despite building mesa with

[Mesa-dev] [PATCH RFC] clover: clone pipe-resource if root-buffer already exists

2017-03-01 Thread Jan Vesely
Fixes cl-api-enqueue-read_write-buffer on carrizo+topaz machine Signed-off-by: Jan Vesely --- I'm not sure if cloning is the right thigh to do. Should we copy the pointer and increase ref count instead? PS: the assert did not trigger despite building mesa with --enable-debug Jan src/gallium/s