[Mesa-dev] [PATCH v2] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Paul Berry
This patch modifies the GLSL linker to assign additional slots for varying variables used by transform feedback, and record the varying slots used by transform feedback for use by the driver back-end. This required modifying assign_varying_locations() so that it assigns a varying location if eithe

Re: [Mesa-dev] [PATCH] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Paul Berry
On 7 November 2011 18:18, Marek Olšák wrote: > On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry > wrote: > > @@ -1806,16 +2187,50 @@ link_shaders(struct gl_context *ctx, struct > gl_shader_program *prog) > > break; > >} > > > > + /* From GL_EXT_transform_feedback: > > +* A program

Re: [Mesa-dev] [PATCH] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Paul Berry
On 7 November 2011 17:34, Marek Olšák wrote: > On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry > wrote: > > +/** > > + * Update gl_transform_feedback_info to reflect this tfeedback_decl. > > + * > > + * If an error occurs, the error is reported through linker_error() and > false > > + * is returned.

[Mesa-dev] [Bug 42688] New: attribute can't be used when it used fixed function vertex

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42688 Bug #: 42688 Summary: attribute can't be used when it used fixed function vertex Classification: Unclassified Product: Mesa Version: git Platform: All OS/Versi

Re: [Mesa-dev] [PATCH] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Marek Olšák
On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry wrote: > @@ -1806,16 +2187,50 @@ link_shaders(struct gl_context *ctx, struct > gl_shader_program *prog) >         break; >    } > > +   /* From GL_EXT_transform_feedback: > +    *   A program will fail to link if: > +    * > +    *   * the specified by

[Mesa-dev] [Bug 42586] [PNV]mesa demo/arbocclude fail to show the animation displayed

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42586 yangguang changed: What|Removed |Added Platform|All |x86 (IA32) AssignedTo|mesa-dev@lists

Re: [Mesa-dev] [PATCH 4/4] mesa: Implement glGetFragDataLocation

2011-11-07 Thread Eric Anholt
On Fri, 4 Nov 2011 16:41:00 -0700, "Ian Romanick" wrote: > From: Ian Romanick > > Fixes piglit's getfragdatalocation test. > > Signed-off-by: Ian Romanick I think patch 2/4 and 3/4 should be squashed -- if you're looking at an issue in either one, you would want to be reading the two of them

Re: [Mesa-dev] [PATCH] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Marek Olšák
On Tue, Nov 8, 2011 at 1:13 AM, Paul Berry wrote: > +/** > + * Update gl_transform_feedback_info to reflect this tfeedback_decl. > + * > + * If an error occurs, the error is reported through linker_error() and false > + * is returned. > + */ > +bool > +tfeedback_decl::store(struct gl_shader_progra

[Mesa-dev] [PATCH] glsl: Assign transform feedback varying slots in linker.

2011-11-07 Thread Paul Berry
This patch modifies the GLSL linker to assign additional slots for varying variables used by transform feedback, and record the varying slots used by transform feedback for use by the driver back-end. This required modifying assign_varying_locations() so that it assigns a varying location if eithe

Re: [Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Brian Paul
On 11/07/2011 03:29 PM, Kevin H. Hobbs wrote: On 11/07/2011 04:21 PM, Brian Paul wrote: As I posted on Friday, glReadPixels is broken. I have a patch that will probably fix most of this. I'll push it soon. -Brian OK, I'm sorry for the noise. I didn't make the connection at the time, thoug

Re: [Mesa-dev] [PATCH] llvmpipe/u_format: add support for EXT_texture_shared_exponent + EXT_packed_float

2011-11-07 Thread Jose Fonseca
Looks good AFAICT. - Original Message - > From: Dave Airlie > > These two are fairly unique types so add specific cases for decoding > them. > > Passes piglit fbo-clear-format and fbo-generatemipmap-format tests > for these > two extensions. > > Signed-off-by: Dave Airlie > --- > src

Re: [Mesa-dev] [PATCH] llvmpipe: add NV_conditional_render support.

2011-11-07 Thread Jose Fonseca
I'm not very familar with conditional rendering, but I don't see anything wrong FWIW. Jose - Original Message - > From: Dave Airlie > > This ports the softpipe NV_conditional_render support to llvmpipe. > > This passes the nv_conditional_render-* piglit tests. > > Signed-off-by: Dave

Re: [Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Kevin H. Hobbs
On 11/07/2011 04:21 PM, Brian Paul wrote: > As I posted on Friday, glReadPixels is broken. I have a patch that > will probably fix most of this. I'll push it soon. > > -Brian > OK, I'm sorry for the noise. I didn't make the connection at the time, though I should have since I knew the VTK test

Re: [Mesa-dev] [PATCH 2/3] glsl: translate transform feedback varyings into low-level representation

2011-11-07 Thread Paul Berry
On 4 November 2011 16:43, Marek Olšák wrote: > Hi Paul, > > I won't comment on the patch 1, because I didn't write it, I was just > preserving history. > > On Fri, Nov 4, 2011 at 10:00 PM, Paul Berry > wrote: > [snip] > >> +bool parse_tfeedback_decl(const void *mem_ctx, const char *input, > >> +

Re: [Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Brian Paul
As I posted on Friday, glReadPixels is broken. I have a patch that will probably fix most of this. I'll push it soon. -Brian On 11/07/2011 01:38 PM, Kevin H. Hobbs wrote: On 11/07/2011 03:29 PM, Kevin H. Hobbs wrote: I build Mesa OSMesa and xlib from git every night, and then I build and te

[Mesa-dev] [PATCH] llvmpipe: add EXT_timer_query support.

2011-11-07 Thread Dave Airlie
From: Dave Airlie This adds timer query support, though I'm not 100% sure about the bin stuff if we have multiple queries in flight, maybe it needs a linked list, suggestions welcome. Signed-off-by: Dave Airlie --- src/gallium/drivers/llvmpipe/lp_query.c | 26 -- src

Re: [Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Kevin H. Hobbs
On 11/07/2011 03:29 PM, Kevin H. Hobbs wrote: > I build Mesa OSMesa and xlib from git every night, and then I build and > test VTK and ParaView against both Mesa libraries all of this on 9 hosts. > > Beginning Friday night basically all of the rendering tests started > failing with a solid color o

Re: [Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Kevin H. Hobbs
On 11/07/2011 03:29 PM, Kevin H. Hobbs wrote: > I build Mesa OSMesa and xlib from git every night, and then I build and > test VTK and ParaView against both Mesa libraries all of this on 9 hosts. > > Beginning Friday night basically all of the rendering tests started > failing with a solid color o

[Mesa-dev] Friday Night Segfaults

2011-11-07 Thread Kevin H. Hobbs
I build Mesa OSMesa and xlib from git every night, and then I build and test VTK and ParaView against both Mesa libraries all of this on 9 hosts. Beginning Friday night basically all of the rendering tests started failing with a solid color on OSMesa and segfaulting with xlib. I suspect Mesa beca

Re: [Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-07 Thread Morgan Armand
Here is the updated patch. --- src/gallium/drivers/softpipe/sp_quad_blend.c | 76 ++ 1 files changed, 54 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index 598df26..7180fa1 10064

[Mesa-dev] [PATCH] llvmpipe/u_format: add support for EXT_texture_shared_exponent + EXT_packed_float

2011-11-07 Thread Dave Airlie
From: Dave Airlie These two are fairly unique types so add specific cases for decoding them. Passes piglit fbo-clear-format and fbo-generatemipmap-format tests for these two extensions. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/util/u_format_pack.py |4 +++ src/gallium/drivers/

[Mesa-dev] [PATCH] glsl: Clamp vector indices when lowering to swizzles

2011-11-07 Thread Ian Romanick
From: Ian Romanick This prevents other code from seeing a swizzle of the 16th component of a vector, for example. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Ian Romanick Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517 --- src/glsl/lower_vec_index_to_swizzle.cpp

Re: [Mesa-dev] [PATCH 3/4] linker: Use app-specified fragment data location during linking

2011-11-07 Thread Paul Berry
On 4 November 2011 16:40, Ian Romanick wrote: > From: Ian Romanick > > Fixes piglit's bindfragdata-link-error. > > Signed-off-by: Ian Romanick > --- > src/glsl/linker.cpp |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/src/glsl/linker.cpp b/src/glsl/linker.c

[Mesa-dev] [PATCH 3/3] st/mesa: fix memory leaks

2011-11-07 Thread Morgan Armand
--- src/mesa/state_tracker/st_cb_drawpixels.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 8c49f8d..5714d34 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/m

[Mesa-dev] [PATCH 2/3] st/mesa: fix indentation

2011-11-07 Thread Morgan Armand
--- src/mesa/state_tracker/st_atom_texture.c | 11 +-- src/mesa/state_tracker/st_cb_drawpixels.c |6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index 3115a25..008e9bd 1006

[Mesa-dev] [PATCH 1/3] softpipe: fix memory leaks

2011-11-07 Thread Morgan Armand
This series of patches is a splitted version of my previous one, as suggested by Brian. --- src/gallium/drivers/softpipe/sp_state_derived.c |5 - src/gallium/drivers/softpipe/sp_state_shader.c |3 +++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers

[Mesa-dev] [PATCH] llvmpipe: add NV_conditional_render support.

2011-11-07 Thread Dave Airlie
From: Dave Airlie This ports the softpipe NV_conditional_render support to llvmpipe. This passes the nv_conditional_render-* piglit tests. Signed-off-by: Dave Airlie --- src/gallium/drivers/llvmpipe/lp_clear.c |3 +++ src/gallium/drivers/llvmpipe/lp_context.c | 13

Re: [Mesa-dev] [PATCH 1/4] state_trackers/vdpau: Implement VdpGenerateCSCMatrix

2011-11-07 Thread Christian König
Hi Maarten, On 06.11.2011 10:41, Maarten Lankhorst wrote: Hey Christian, On 10/31/2011 11:00 AM, Christian König wrote: On 31.10.2011 10:23, Maarten Lankhorst wrote: With the smpte240 profile, which was missing. Signed-off-by: Maarten Lankhorst --- src/gallium/auxiliary/vl/vl_csc.c

Re: [Mesa-dev] [PATCH] softpipe: don't clamp or do logical operations on floating-point buffers.

2011-11-07 Thread Brian Paul
On 11/06/2011 05:31 AM, Morgan Armand wrote: --- src/gallium/drivers/softpipe/sp_quad_blend.c | 78 ++--- 1 files changed, 56 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index 59

Re: [Mesa-dev] [PATCH] Fix memory leaks and some bad indentation

2011-11-07 Thread Brian Paul
On 11/06/2011 03:07 PM, Morgan Armand wrote: --- src/gallium/drivers/softpipe/sp_state_derived.c |5 - src/gallium/drivers/softpipe/sp_state_shader.c |3 +++ src/mesa/state_tracker/st_atom_texture.c| 11 +-- src/mesa/state_tracker/st_cb_drawpixels.c | 1

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-07 Thread Michel Dänzer
On Fre, 2011-11-04 at 13:38 +0100, Theiss, Ingo wrote: > > I am using VirtualGL (http://www.virtualgl.org) for full 3D hardware > accelerated remote OpenGL applications with latest mesa from git > (compiled for both 32 bit and 64 bit) on my 64 bit Debian Wheezy box. > > When I run a 32 bit applic

Re: [Mesa-dev] [PATCH 3/3] swrast: map/unmap attachments, not renderbuffers in glReadPixels

2011-11-07 Thread Brian Paul
On 11/06/2011 05:20 PM, Eric Anholt wrote: On Sat, 5 Nov 2011 13:15:41 -0600, Brian Paul wrote: Most drivers have been creating fake/wrapper renderbuffers when a texture image is attached to an FBO. But that's not a requirement of core Mesa. So an FBO attachment that points into a texture ma

[Mesa-dev] [Bug 42651] NULL function pointer called in driCreateNewScreen with KMS disabled

2011-11-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42651 --- Comment #1 from Alex Deucher 2011-11-07 05:49:35 PST --- I believe this was fixed in a newer version of mesa. 7.9 is pretty old. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail