[Mesa-dev] [PATCH] intel:i915:i965: enable mipmap layout right mode

2012-03-14 Thread Yuanhan Liu
There are two mipmap layout modes: below and right. And we currently just use _below_ mode. And in some cases, like height is greater than width, it would be better to use the _right_ mode for saving memory. And it also fix some issues like the gl-max-texture-dimensions.html webglc test case on pi

Re: [Mesa-dev] Doing 8.0.1 release?

2012-03-14 Thread Yuanhan Liu
On Tue, Mar 13, 2012 at 07:29:02AM -0700, Jakob Bornecrantz wrote: > - Original Message - > > On Mon, Mar 12, 2012 at 05:05:08PM -0700, Jakob Bornecrantz wrote: > > > Hi all > > > > > > We well over due for a 8.0.1 release, so I thought > > > we do it aggressively this week. A quick rc tom

[Mesa-dev] [Bug 47126] tests/fbo/fbo-array.c:109: create_array_fbo: Assertion `glGetError() == 0' failed.

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47126 Gordon Jin changed: What|Removed |Added AssignedTo|e...@anholt.net |mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 1/2] mesa: Fold error generation into _mesa_valid_prim_mode().

2012-03-14 Thread Brian Paul
On 03/14/2012 04:25 PM, Eric Anholt wrote: We want to start emitting an INVALID_OPERATION from here for transform feedback. Note that this forced dlist.c to almost not use this function, since it wants different behavior during dlist compile. Just pull the non-TF, non-GS test out for compile, be

Re: [Mesa-dev] [PATCH 2/2] i965/fs: Try to avoid generating extra MOVs to do saturates.

2012-03-14 Thread Kenneth Graunke
On 03/13/2012 02:37 PM, Eric Anholt wrote: shader-db results: Total instructions: 212648 -> 206044 614/1246 programs affected (49.3%) 178350 -> 171746 instructions in affected programs (3.7% reduction) --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 24 +--- 1 files

[Mesa-dev] [PATCH 1/2] mesa: Fold error generation into _mesa_valid_prim_mode().

2012-03-14 Thread Eric Anholt
We want to start emitting an INVALID_OPERATION from here for transform feedback. Note that this forced dlist.c to almost not use this function, since it wants different behavior during dlist compile. Just pull the non-TF, non-GS test out for compile, because: 1) TF doesn't matter in that case bec

[Mesa-dev] [PATCH 2/2] mesa: Validate the drawing primitive against the transform feedback mode.

2012-03-14 Thread Eric Anholt
Fixes piglit GL_EXT_transform_feedback/negative-prims. --- src/mesa/main/api_validate.c | 45 +++- src/mesa/main/transformfeedback.c | 27 -- src/mesa/main/transformfeedback.h |3 -- 3 files changed, 43 insertions(+), 32 deletions(-)

[Mesa-dev] [Bug 47324] [Intel HD3000] OpenGL content is not rendered correctly in Gnome fall-back mode

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47324 --- Comment #2 from Kenneth Graunke 2012-03-14 15:24:30 PDT --- Output of glxinfo would be great as well. Also, how are you getting to GNOME Fallback mode? I've only ever arrived in that environment when my 3D driver is hosed. At which point.

Re: [Mesa-dev] GLSL 1.40 progress: hooking up builtin functions

2012-03-14 Thread Kenneth Graunke
On 03/12/2012 06:08 PM, Eric Anholt wrote: This is a continuation of the GLSL 1.40 work, which now gets the newly-submitted textureSize(*2DRect) tests working, with a brief detour to fix the GPU hangs due to the discard-exiting-the-shader test. I want to rework that test, actually, because in my

Re: [Mesa-dev] [PATCH 9/9] glsl: Add GLSL 1.40 textureSize() implementations for sampler2DRect.

2012-03-14 Thread Kenneth Graunke
On 03/12/2012 06:08 PM, Eric Anholt wrote: By setting lod to 0 in the builtin function implementation, we avoid needing to update all the visitors to ignore LOD in this case, when the hardware drivers actually want to ask for LOD 0 for rectangular textures. Fixes piglit spec/GLSL-1.40/textureSiz

Re: [Mesa-dev] [PATCH 7/9] glsl: Add support for integer sampler2DRect variants in GLSL 1.40.

2012-03-14 Thread Kenneth Graunke
On 03/12/2012 06:08 PM, Eric Anholt wrote: --- src/glsl/builtin_types.h | 12 src/glsl/glsl_types.cpp | 15 +-- src/glsl/glsl_types.h|2 ++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.

[Mesa-dev] [Bug 47324] [Intel HD3000] OpenGL content is not rendered correctly in Gnome fall-back mode

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47324 --- Comment #1 from Chris Wilson 2012-03-14 15:08:23 PDT --- Please attach your Xorg.log. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for

[Mesa-dev] [Bug 47324] New: [Intel HD3000] OpenGL content is not rendered correctly in Gnome fall-back mode

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47324 Bug #: 47324 Summary: [Intel HD3000] OpenGL content is not rendered correctly in Gnome fall-back mode Classification: Unclassified Product: Mesa Version: 8.0 Platform:

Re: [Mesa-dev] Mesa (master): glsl: Avoid extra if statements for logic and/ or with no side effects.

2012-03-14 Thread Eric Anholt
On Wed, 14 Mar 2012 11:38:09 -0700 (PDT), Jose Fonseca wrote: > This commit caused the piglit tests > > glsl-algebraic-logicand-false-2 > glsl-algebraic-logicor-true > > to start failing on llvmpipe. Not sure if this is failing for all drivers or > just llvmpipe/gallium. Sounds like you'

Re: [Mesa-dev] Mesa (master): glsl: Avoid extra if statements for logic and/ or with no side effects.

2012-03-14 Thread Jose Fonseca
This commit caused the piglit tests glsl-algebraic-logicand-false-2 glsl-algebraic-logicor-true to start failing on llvmpipe. Not sure if this is failing for all drivers or just llvmpipe/gallium. Jose - Original Message - > Module: Mesa > Branch: master > Commit: ead3589aa2810b661

Re: [Mesa-dev] [PATCH] autoconf: bail out if flex isn't found

2012-03-14 Thread Kenneth Graunke
On 03/14/2012 07:20 AM, Brian Paul wrote: On Tue, Mar 13, 2012 at 9:14 PM, Matt Turner wrote: Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=47248 Signed-off-by: Matt Turner --- configure.ac |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.ac b/config

Re: [Mesa-dev] [PATCH] glsl: fix compiling warning from gcc 4.7

2012-03-14 Thread Brian Paul
On 03/13/2012 10:05 AM, Dave Airlie wrote: From: Dave Airlie ir_validate.cpp: In member function ‘virtual ir_visitor_status ir_validate::visit_leave(ir_swizzle*)’: ir_validate.cpp:458:66: warning: narrowing conversion of ‘ir->ir_swizzle::mask.ir_swizzle_mask::x’ from ‘unsigned int’ to ‘int’ in

Re: [Mesa-dev] [PATCH] autoconf: bail out if flex isn't found

2012-03-14 Thread Brian Paul
On Tue, Mar 13, 2012 at 9:14 PM, Matt Turner wrote: > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=47248 > Signed-off-by: Matt Turner > --- >  configure.ac |    3 +++ >  1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/configure.ac b/configure.ac > index a2d906a..e7994b0 1

Re: [Mesa-dev] [PATCH] gallivm: Fix createOProfileJITEventListener namespace with llvm-3.1.

2012-03-14 Thread Brian Paul
On Tue, Mar 13, 2012 at 11:50 PM, Vinson Lee wrote: > llvm-3.1svn r15620 refactored the OProfile profiling code. > createOProfileJITEventListener was moved from the llvm namespace to the > llvm::JITEventListener namespace. > > Signed-off-by: Vinson Lee > --- >  src/gallium/auxiliary/gallivm/lp_bl

[Mesa-dev] [Bug 47304] docs/banner.html is invalid

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47304 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] Is Mesa on win32 thread safe?

2012-03-14 Thread Jose Fonseca
I believe this was fixed in master with commit: commit 4a72d859b4f8d0444eb7f38606d59d7ddc9ea8fa Author: Brian Paul Date: Thu Feb 16 12:25:22 2012 -0700 util: add mutex lock in u_debug_memory.c code The linked list of memory allocations was not protected by a mutex. This lead to sporadic f

[Mesa-dev] [Bug 47304] docs/banner.html is invalid

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47304 --- Comment #1 from Christopher Yeleighton 2012-03-14 05:21:09 PDT --- Created attachment 58428 --> https://bugs.freedesktop.org/attachment.cgi?id=58428 upgrade markup -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=emai

[Mesa-dev] [Bug 47304] New: docs/banner.html is invalid

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47304 Bug #: 47304 Summary: docs/banner.html is invalid Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86-64 (AMD64) URL: http://mesa3d.org/banner.html

[Mesa-dev] [Bug 44697] Update from 7.12 to 8 (git) breaks compiz/unity

2012-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44697 arno.b changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|