Re: [Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2013-03-29 Thread Chris Forbes
I've got this working now (in the simplest cases) on Ivybridge. If anyone is curious, the (messy) git trees are at http://github.com/chrisforbes/mesa.git arb_texture_gather http://github.com/chrisforbes/piglit.git texture_gather Nowhere near ready for review, but it's a start. Remaining things

Re: [Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-14 Thread Brian Paul
On 11/13/2012 05:02 PM, Kenneth Graunke wrote: On 11/13/2012 01:44 PM, Maxence Le Doré wrote: [snip] diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 89c516c..5d5b56d 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1334,7 +1334,8 @@ enum ir_texture_opcode { ir_txl, /** Texture look-up with

Re: [Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-13 Thread Kenneth Graunke
On 11/12/2012 09:03 PM, Maxence Le Doré wrote: Here is a patch against master branch that takes a good way to implement ARB_texture_gather over softpipe but I have the regret to announce that I can't find what i'm doing wrong at a point : At compilation time, more precisely glsl code

Re: [Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-13 Thread Kenneth Graunke
On 11/13/2012 01:44 PM, Maxence Le Doré wrote: Oh sorry ! I simply forgot to add src/glsl/builtins/profiles/ARB_texture_gather.glsl to tracked files in my patch ! Here comes the new one. I also add the forgotten xml api file. Thanks a lot Kenneth Cool, thanks! Could you please split this

Re: [Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-13 Thread Kenneth Graunke
On 11/13/2012 01:44 PM, Maxence Le Doré wrote: [snip] diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 89c516c..5d5b56d 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1334,7 +1334,8 @@ enum ir_texture_opcode { ir_txl,/** Texture look-up with explicit LOD */ ir_txd,

[Mesa-dev] mesa : ARB_texture_gather implementation - WIP[PATCH1/1] but need advice !

2012-11-12 Thread Maxence Le Doré
Here is a patch against master branch that takes a good way to implement ARB_texture_gather over softpipe but I have the regret to announce that I can't find what i'm doing wrong at a point : At compilation time, more precisely glsl code compilation, a file builtin_function.cpp is generated by