Re: [Mesa-dev] [PATCH 04/10] i965/fs: Pull ir_binop_min/ir_binop_max handling to a separate function.

2012-09-23 Thread Kenneth Graunke
On 09/22/2012 02:04 PM, Eric Anholt wrote: > This will be reused from the ARB_fp compiler. I touched up the pre-gen6 path > to not overwrite dst in the first instruction, which prevents the need for > aliasing checks (we'll need that in the ARB_fp compiler, but it actually > hasn't been needed in

Re: [Mesa-dev] [PATCH 03/10] i965/fs: Refactor rectangle/GL_CLAMP texture coordinate adjustment.

2012-09-23 Thread Kenneth Graunke
On 09/22/2012 02:04 PM, Eric Anholt wrote: > We'll want to reuse this for ARB_fp handling. > --- > src/mesa/drivers/dri/i965/brw_fs.h |2 ++ > src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 44 > +++--- > 2 files changed, 27 insertions(+), 19 deletions(-) > >

[Mesa-dev] glext.h missing define

2012-09-23 Thread Dave Airlie
Hi, Playing around with ARB_texture_gather infrastructure bits this morning, noticed we don't seem to have the define MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB0x8F9F from the spec, in glext.h where'd I'd expect it. can someone with ARB powers check if this is an oversight or if the spe

[Mesa-dev] [PATCH 4/4] r600g: use a select to handle front/back color in llvm

2012-09-23 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 36 ++ src/gallium/drivers/r600/r600_shader.c | 13 +++- 2 files changed, 44 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index e77758b..

[Mesa-dev] [PATCH 3/4] r600g: frontcolor tracks its associated backcolor

2012-09-23 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_shader.c | 59 -- src/gallium/drivers/r600/r600_shader.h | 1 + 2 files changed, 35 insertions(+), 25 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 14c1763..310ab6

[Mesa-dev] [PATCH 2/4] r600g: add some members to radeon_llvm_context

2012-09-23 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_shader.c | 5 + src/gallium/drivers/radeon/radeon_llvm.h | 8 2 files changed, 13 insertions(+) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index c363ca5..14c1763 100644 --- a/src/gallium/drivers/r6

[Mesa-dev] [PATCH 1/4] r600g: tgsi-to-llvm path is taken after declarations have been parsed

2012-09-23 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_shader.c | 58 +++--- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 3e79764..c363ca5 100644 --- a/src/gallium/drivers/r600/r600_sha

Re: [Mesa-dev] [PATCH 6/6] mesa: remove FEATURE_ES1 tests in enable.c code

2012-09-23 Thread Matt Turner
On Sat, Sep 22, 2012 at 5:45 PM, Brian Paul wrote: > From: Brian Paul > > --- > src/mesa/main/enable.c |6 -- > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c > index 3643cfb..fe2870b 100644 > --- a/src/mesa/main/enable.c

[Mesa-dev] [PATCH] svga: Remove wierd code which forces non-sRGB formats.

2012-09-23 Thread John Kåre Alsaker
--- src/gallium/drivers/svga/svga_resource_texture.c | 8 1 file changed, 8 deletions(-) diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 9830e79..97ec7ee 100644 --- a/src/gallium/drivers/svga/svga_resource_texture.c