Re: [Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-07-10 Thread Zoltán Gilián
Sent a new patch with subject [Mesa-dev] [PATCH] clover: Pass image attributes to the kernel. 2015.07.06. 17:58 ezt írta ("Zoltán Gilián" ): > > Hint: you'll need new > > module::argument::semantic enums > > I see. Reworked it a bit. > > On Mon, Jul 6, 2015 at 1:13 PM, Francisco Jerez > wrote: >

Re: [Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-07-06 Thread Zoltán Gilián
> Hint: you'll need new > module::argument::semantic enums I see. Reworked it a bit. On Mon, Jul 6, 2015 at 1:13 PM, Francisco Jerez wrote: > Zoltán Gilián writes: > >>> This seems to be doing essentially the same thing as v1? Is it the >>> right patch? >> >> The llvm pass was invoked in clove

Re: [Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-07-06 Thread Francisco Jerez
Zoltán Gilián writes: >> This seems to be doing essentially the same thing as v1? Is it the >> right patch? > > The llvm pass was invoked in clover in v1. This patch relies on llvm > to perform that task (). What this patch does basically is that it > adds the image attributes to the end of the

Re: [Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-07-06 Thread Zoltán Gilián
> This seems to be doing essentially the same thing as v1? Is it the > right patch? The llvm pass was invoked in clover in v1. This patch relies on llvm to perform that task (). What this patch does basically is that it adds the image attributes to the end of the kernel input vector. The commit m

Re: [Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-06-24 Thread Francisco Jerez
Zoltan Gilian writes: > Image attributes are passed to the kernel as hidden parameters after the > image attribute itself. An llvm pass replaces the getter builtins to > the appropriate parameters. This seems to be doing essentially the same thing as v1? Is it the right patch? > --- > src/gal

[Mesa-dev] [PATCH] clover: Implement image attribute getters

2015-06-18 Thread Zoltan Gilian
Image attributes are passed to the kernel as hidden parameters after the image attribute itself. An llvm pass replaces the getter builtins to the appropriate parameters. --- src/gallium/state_trackers/clover/core/kernel.cpp | 26 +++ src/gallium/state_trackers/clover/core/kernel.hpp | 13 ++-