Pushed, thanks.
On Sat, Sep 28, 2013 at 06:39:50AM +0200, Simon Richter wrote: > The ICD loader expects the first member of any dispatchable object to be > the dispatch table. > > Signed-off-by: Simon Richter <simon.rich...@hogyros.de> > --- > src/cl_mem.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/cl_mem.h b/src/cl_mem.h > index dc9192a..bc6d526 100644 > --- a/src/cl_mem.h > +++ b/src/cl_mem.h > @@ -61,8 +61,8 @@ enum cl_mem_type { > #define IS_GL_IMAGE(mem) (mem->type == CL_MEM_GL_IMAGE_TYPE) > > typedef struct _cl_mem { > - uint64_t magic; /* To identify it as a memory object */ > DEFINE_ICD(dispatch) > + uint64_t magic; /* To identify it as a memory object */ > cl_mem prev, next; /* We chain the memory buffers together */ > enum cl_mem_type type; > volatile int ref_n; /* This object is reference counted */ > -- > 1.7.10.4 > > _______________________________________________ > Beignet mailing list > Beignet@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet