Re: [Mesa-dev] [PATCH] AMDGPU: Match AMDGPU.cube intrinsic for SI.

2012-12-05 Thread Christian König
On 04.12.2012 19:03, Michel Dänzer wrote: From: Michel Dänzer Signed-off-by: Michel Dänzer Reviewed by: Christian König --- lib/Target/AMDGPU/SIInstructions.td | 21 + 1 file changed, 21 insertions(+) diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target

[Mesa-dev] [PATCH 1/2] meta: Disable GL_FRAGMENT_SHADER_ATI in MESA_META_SHADER

2012-12-05 Thread Stefan Dösinger
>From b882d9e08932198e243b9cbb534d01d547661f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Mon, 3 Dec 2012 11:03:26 +0100 Subject: [PATCH 1/4] meta: Disable GL_FRAGMENT_SHADER_ATI in MESA_META_SHADER Fixes clears in Wine on r200. --- src/mesa/drivers/common/meta.c |

[Mesa-dev] [PATCH 2/2] r200: Initialize swrast before setting limits

2012-12-05 Thread Stefan Dösinger
>From f572545ee0e2e17322554f03409237e40c732d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Mon, 3 Dec 2012 14:31:23 +0100 Subject: [PATCH 2/4] r200: Initialize swrast before setting limits Otherwise the driver announces 4096 vertex shader constants and other way too h

Re: [Mesa-dev] [PATCH] [rfc] llvmpipe: EXT_transform_feedback support (v1)

2012-12-05 Thread Jose Fonseca
115/130 sounds great. Just one minor comment. Otherwise looks good Reviewed-by: Jose Fonseca Jose - Original Message - > I'd written most of this ages ago, but never finished it off. > > This passes 115/130 piglit tests so far. I'll look into the > others as time permits. > > Signed-

Re: [Mesa-dev] [PATCH] draw: set precalc_flat flag for AA lines too

2012-12-05 Thread Jose Fonseca
Reviewed-by: Jose Fonseca - Original Message - > Fixes flat shading for AA lines. demos/src/trivial/line-smooth is a > test case which hits this. > > Note: This is a candidate for the stable branches. > --- > src/gallium/auxiliary/draw/draw_pipe_validate.c |1 + > 1 files changed,

[Mesa-dev] [PATCH automake] pipe-loader: Install pipe_* to $(libdir)/gallium-pipe.

2012-12-05 Thread Johannes Obermayr
--- This patch is necessary because gbm and clover use same pipe_*. In current automake they are installed only in $(libdir)/gbm and clover searches in $(libdir)/opencl and of course this cannot work. The build is triggered by src/gallium/targets/gbm/Makefile.am:23 or src/gallium/targets/opencl

Re: [Mesa-dev] [PATCH 2/2] r200: Initialize swrast before setting limits

2012-12-05 Thread Alex Deucher
Reviewed-by: Alex Deucher Also, should probably also make a note to apply this to the stable branches. While you are at it can you also check and see if radeon needs a similar fix? Alex ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://l

Re: [Mesa-dev] [PATCH] st/egl/drm: only unref the udev device if needed

2012-12-05 Thread Alex Deucher
On Tue, Dec 4, 2012 at 12:50 PM, Tobias Droste wrote: > Anyone interested? ;-) > > I would just push it, but I don't have the rights to do so. Looks reasonable to me. Reviewed-by: Alex Deucher > > Am Do, 29. November 2012, 17:02:28 schrieben Sie: >> Fixes compiler warning: >> >> drm/native_drm

Re: [Mesa-dev] [PATCH 1/3] mesa: add set support (stores a set of pointers)

2012-12-05 Thread Brian Paul
On 12/04/2012 04:55 PM, Jordan Justen wrote: From: Eric Anholt From: git://people.freedesktop.org/~anholt/hash_table Reviewed-by: Jordan Justen [jordan.l.jus...@intel.com: minor rework for mesa] Signed-off-by: Jordan Justen --- src/mesa/SConscript |1 + src/mesa/main/set.c | 349 +

Re: [Mesa-dev] [PATCH 2/3] main/syncobj: return GL_INVALID_VALUE for invalid sync objects

2012-12-05 Thread Brian Paul
On 12/04/2012 04:55 PM, Jordan Justen wrote: Note: The GL/GLES3 web man pages don't seem to properly document glWaitSync's error when the sync object is invalid. Signed-off-by: Jordan Justen --- src/mesa/main/syncobj.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --g

Re: [Mesa-dev] [PATCH 3/3] mesa: validate that sync objects were created by mesa

2012-12-05 Thread Brian Paul
On 12/04/2012 04:55 PM, Jordan Justen wrote: Previously, the user could send in a pointer that was not created by mesa. When we dereferenced that pointer, there would be an exception. Now we keep a set of pointers and verify that the pointer exists in that set before dereferencing it. Note: Thi

[Mesa-dev] [PATCH] silence unused code warnings

2012-12-05 Thread Fabio Pedretti
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp index ded4f61..ea81e53 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp @@ -67,26 +67,6 @@ static void init_c

Re: [Mesa-dev] [PATCH] silence unused code warnings

2012-12-05 Thread Brian Paul
Comments below. On 12/05/2012 07:02 AM, Fabio Pedretti wrote: diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp index ded4f61..ea81e53 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nv5

[Mesa-dev] [PATCH] radeon/llvm: add a pattern for min/max

2012-12-05 Thread Vincent Lejeune
--- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 53 lib/Target/AMDGPU/AMDGPUISelLowering.h | 1 + lib/Target/AMDGPU/R600ISelLowering.cpp | 5 +++ lib/Target/AMDGPU/SIISelLowering.cpp | 6 4 files changed, 65 insertions(+) diff --git a/lib/Target/AMD

Re: [Mesa-dev] [PATCH] radeon/llvm: add a pattern for min/max

2012-12-05 Thread Tom Stellard
On Wed, Dec 05, 2012 at 04:58:21PM +0100, Vincent Lejeune wrote: > --- > lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 53 > > lib/Target/AMDGPU/AMDGPUISelLowering.h | 1 + > lib/Target/AMDGPU/R600ISelLowering.cpp | 5 +++ > lib/Target/AMDGPU/SIISelLowering.cpp

[Mesa-dev] [PATCH] radeon/llvm: add a pattern for min/max

2012-12-05 Thread Vincent Lejeune
--- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 58 lib/Target/AMDGPU/AMDGPUISelLowering.h | 1 + lib/Target/AMDGPU/R600ISelLowering.cpp | 6 lib/Target/AMDGPU/SIISelLowering.cpp | 6 4 files changed, 71 insertions(+) diff --git a/lib/Target/AM

Re: [Mesa-dev] [PATCH] radeon/llvm: add a pattern for min/max

2012-12-05 Thread Tom Stellard
On Wed, Dec 05, 2012 at 06:09:46PM +0100, Vincent Lejeune wrote: > --- > lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 58 > > lib/Target/AMDGPU/AMDGPUISelLowering.h | 1 + > lib/Target/AMDGPU/R600ISelLowering.cpp | 6 > lib/Target/AMDGPU/SIISelLowering.cp

Re: [Mesa-dev] [PATCH 2/2] r200: Initialize swrast before setting limits

2012-12-05 Thread Stefan Dösinger
On 12/05/12 15:23, Alex Deucher wrote: > Also, should probably also make a note to apply this to the stable > branches. While you are at it can you also check and see if radeon > needs a similar fix? >From the code it looks like it needs a similar fix. I don't have a pre-r250 card though so I can'

Re: [Mesa-dev] [PATCH 2/3] meta: Don't use GL_TEXTURE_RECTANGLE as texture target in GLES

2012-12-05 Thread Anuj Phogat
On Tue, Dec 4, 2012 at 11:17 AM, Eric Anholt wrote: > Anuj Phogat writes: > >> Makes framebuffer_blit_coverage_mismatched_buffer_formats.test >> in gles3 conformance pass. >> >> Signed-off-by: Anuj Phogat >> --- >> src/mesa/drivers/common/meta.c | 11 --- >> 1 files changed, 8 inserti

Re: [Mesa-dev] [PATCH 4/5] driconf: Add translation-generation to build system, don't track generated files

2012-12-05 Thread Chad Versace
On 12/04/2012 03:53 PM, Carl Worth wrote: > Another approach, (and something we did for the cairo project), would be > to put things like lists of filenames needed for the build into a simple > file that could be included by either Makefile.am or Android.mk. That > would at least eliminate one sour

Re: [Mesa-dev] [PATCH 2/2] r200: Initialize swrast before setting limits

2012-12-05 Thread Alex Deucher
On Wed, Dec 5, 2012 at 12:22 PM, Stefan Dösinger wrote: > On 12/05/12 15:23, Alex Deucher wrote: >> Also, should probably also make a note to apply this to the stable >> branches. While you are at it can you also check and see if radeon >> needs a similar fix? > From the code it looks like it nee

[Mesa-dev] [Bug 57903] [llvmpipe] piglit fbo-blending-formats regression

2012-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57903 José Fonseca changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |jfons...@vmware.com |or

Re: [Mesa-dev] [PATCH 1/2] meta: Disable GL_FRAGMENT_SHADER_ATI in MESA_META_SHADER

2012-12-05 Thread Ian Romanick
On 12/05/2012 01:49 AM, Stefan Dösinger wrote: In the future, please send patches using git-send-mail. It makes it easier for people to reply with comments in-line with the patch. In spite of that, this patch looks good. Does it fix any known bugzilla entries? If so, those should be mentio

Re: [Mesa-dev] [PATCH 4/5] driconf: Add translation-generation to build system, don't track generated files

2012-12-05 Thread Adrian M Negreanu
On Wed, Dec 5, 2012 at 12:36 AM, Chad Versace wrote: > Taking the Android.mk's out of Mesa without replacing them with an > Androgenizer-like tool would impose that insufferable situation on > the Android developers. Is maintaining Sconscripts as the only build system an option ? It's easy to ext