[Mesa-dev] [PATCH 0/2] egl: Enable EGL_EXT_client_extensions

2013-10-12 Thread Chad Versace
The extension is simple, and the implementation is simple. This little series lives on my egl-ext-client-extensions branch. I tested it with my Piglit branch of the same name. Chad Versace (2): egl: Kill macro _EGL_DECLARE_MUTEX egl: Enable EGL_EXT_client_extensions src/egl/main/eglapi.c

[Mesa-dev] [PATCH 1/2] egl: Kill macro _EGL_DECLARE_MUTEX

2013-10-12 Thread Chad Versace
Replace all occurences of the macro with its expansion. It seems that the macro intended to provide cross-platform static mutex intialization. However, it had the same definition in all pre-processor paths: #define _EGL_DECLARE_MUTEX(m) _EGLMutex m = _EGL_MUTEX_INITIALIZER Therefore this

[Mesa-dev] [PATCH 2/2] egl: Enable EGL_EXT_client_extensions

2013-10-12 Thread Chad Versace
Insert two fields into _egl_global to hold the client extensions: _egl_global::ClientExtensions /*struct of bools*/ _egl_global::ClientExtensionString Post-patch, Mesa supports exactly one client extension, EGL_EXT_client_extensions. So let's keep things simple by statically initializing

Re: [Mesa-dev] Updated megadrivers series (megadrivers-6)

2013-10-12 Thread Emil Velikov
On 12/10/13 02:03, Eric Anholt wrote: I've also updated the set of driver changes to set a global variable so that the loader doesn't *have* to update to createNewScreen2. This in particular makes the change for the X Server that I just sent out backportable, since the new structs in

[Mesa-dev] [Bug 70378] fatal error: xmlpool/options.h: No such file or directory

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70378 --- Comment #7 from Emil Velikov emil.l.veli...@gmail.com --- Created attachment 87497 -- https://bugs.freedesktop.org/attachment.cgi?id=87497action=edit swrast: add correct include for out-of-tree builds A slightly more overzealous version,

[Mesa-dev] [Bug 70123] Freeze caused by 'winsys/radeon: remove cs_queue_empty' commit

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70123 --- Comment #8 from Jeff Blake jeffbla...@gmail.com --- Created attachment 87498 -- https://bugs.freedesktop.org/attachment.cgi?id=87498action=edit 'thread apply all bt' with the commit reverted instead of the patch Sorry for the delay. I've

Re: [Mesa-dev] [PATCH] radeon/llvm: show LLVM disassembly when available

2013-10-12 Thread Tom Stellard
On Thu, Oct 10, 2013 at 08:06:48PM -0500, Jay Cornwall wrote: With code dump enabled LLVM may generate disassembly during compilation. Show this disassembly when available and prefer it to SI bytecode dump. I've pushed this and the LLVM patch. Thanks! -Tom Signed-off-by: Jay Cornwall

[Mesa-dev] [PATCH] glsl: Initialize per_vertex_accumluator::fields.

2013-10-12 Thread Vinson Lee
Fixes Uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/builtin_variables.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index

Re: [Mesa-dev] [PATCH 14/15] swrast: Build the driver into the shared mesa_dri_drivers.so.

2013-10-12 Thread Matt Turner
On Fri, Oct 11, 2013 at 6:03 PM, Eric Anholt e...@anholt.net wrote: AM_CONDITIONAL(NEED_LIBPROGRAM, test x$with_gallium_drivers != x -o \ x$enable_xlib_glx = xyes -o \ x$enable_osmesa = xyes -o \ -

[Mesa-dev] [PATCH] i965: Add lowering pass to fold offset into unnormalized coords

2013-10-12 Thread Chris Forbes
It turns out that nonzero offsets with gsampler2DRect don't work -- they just return garbage. Work around this by folding the offset into the coord. Done as an IR pass rather than yet another hack in the visitors because it's clear what's going on this way. Can possibly reuse this to replace the

[Mesa-dev] [PATCH 1/2] i965: Generalize coord+offset lowering pass for ir_txf

2013-10-12 Thread Chris Forbes
ir_txf expects an ivec* coordinate, and may be larger than ivec2; shuffle things around so that this will work. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- .../dri/i965/brw_lower_unnormalized_offset.cpp | 51 ++ 1 file changed, 42 insertions(+), 9 deletions(-) diff

Re: [Mesa-dev] [RFC PATCH 0/2] Move ir_txf coord+offset hack to IR pass

2013-10-12 Thread Chris Forbes
Eek -- that's not quite true. It doesn't regress any piglits; it doesn't fix the two that were failing already though. On Sun, Oct 13, 2013 at 1:04 AM, Chris Forbes chr...@ijw.co.nz wrote: This generalizes the new ir_tg4 coord+offset lowering pass to support ir_txf in all its flavors, and

[Mesa-dev] [Bug 70378] fatal error: xmlpool/options.h: No such file or directory

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70378 --- Comment #9 from Fabio Pedretti fabio@libero.it --- I cannot test it until few days, if it works for you commit it. -- You are receiving this mail because: You are the assignee for the bug. ___

Re: [Mesa-dev] [PATCH] nv50: report only 16 texure_samplers

2013-10-12 Thread Christoph Bumiller
On 12.10.2013 02:47, Emil Velikov wrote: On 12/10/13 01:25, Roland Scheidegger wrote: Am 12.10.2013 02:02, schrieb Brian Paul: On 10/11/2013 10:44 AM, Emil Velikov wrote: Current mesa code(cso and drivers) expect and use only up-to 16 texture samplers. Verbatum copy from the nvc0 driver.

[Mesa-dev] [Bug 70402] SIGSEGV when selecting polygons with i915 (libdricore9.2.0.so)

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70402 Joe AbdHalim joe.01.softw...@gmail.com changed: What|Removed |Added Priority|medium |highest -- You

Re: [Mesa-dev] [PATCH 0/3] Enable GL 3.2 support for i965, bump Mesa version.

2013-10-12 Thread Paul Berry
On 10 October 2013 21:27, Paul Berry stereotype...@gmail.com wrote: It's been a long and rocky road, but geometry shader support in Mesa's i965/gen7 driver has finally reached a point I'm willing to call feature complete. Since geometry shaders were the last remaining feature needed for GL

[Mesa-dev] [PATCH] swrast: add correct include for out-of-tree builds

2013-10-12 Thread Emil Velikov
The xmlpool/options.h file was not accessible when building out-of-tree leading to failure. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70378 Reported-by: Fabio Pedretti fabio@libero.it Tested-by: Andre Heider a.hei...@gmail.com Signed-off-by: Emil Velikov emil.l.veli...@gmail.com

[Mesa-dev] [Bug 70403] New: xorg state tracker fails to build due to change in DamageUnregister API

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70403 Priority: medium Bug ID: 70403 Assignee: mesa-dev@lists.freedesktop.org Summary: xorg state tracker fails to build due to change in DamageUnregister API Severity: normal

[Mesa-dev] [Bug 70123] Freeze caused by 'winsys/radeon: remove cs_queue_empty' commit

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70123 --- Comment #9 from Christian König deathsim...@vodafone.de --- Created attachment 87517 -- https://bugs.freedesktop.org/attachment.cgi?id=87517action=edit Additional workaround. That looks like we are accessing the CS after the winsys has

Re: [Mesa-dev] [PATCH] nv50: report only 16 texure_samplers

2013-10-12 Thread Roland Scheidegger
Am 12.10.2013 17:19, schrieb Christoph Bumiller: On 12.10.2013 02:47, Emil Velikov wrote: On 12/10/13 01:25, Roland Scheidegger wrote: Am 12.10.2013 02:02, schrieb Brian Paul: On 10/11/2013 10:44 AM, Emil Velikov wrote: Current mesa code(cso and drivers) expect and use only up-to 16 texture

[Mesa-dev] [Bug 70403] xorg state tracker fails to build due to change in DamageUnregister API

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70403 --- Comment #1 from Emil Velikov emil.l.veli...@gmail.com --- In order not to break builds against current and older X we'll need to do that once X has a release with the change :) -- You are receiving this mail because: You are the assignee

[Mesa-dev] [Bug 70403] xorg state tracker fails to build due to change in DamageUnregister API

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70403 --- Comment #2 from Michał Górny mgo...@gentoo.org --- (In reply to comment #1) In order not to break builds against current and older X we'll need to do that once X has a release with the change :) IMO it would be better to check the

Re: [Mesa-dev] [PATCH] nv50: report only 16 texure_samplers

2013-10-12 Thread Marek Olšák
On Sat, Oct 12, 2013 at 6:52 PM, Roland Scheidegger srol...@vmware.com wrote: Am 12.10.2013 17:19, schrieb Christoph Bumiller: On 12.10.2013 02:47, Emil Velikov wrote: On 12/10/13 01:25, Roland Scheidegger wrote: Am 12.10.2013 02:02, schrieb Brian Paul: On 10/11/2013 10:44 AM, Emil Velikov

[Mesa-dev] [Bug 70410] New: egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 Priority: medium Bug ID: 70410 Assignee: mesa-dev@lists.freedesktop.org Summary: egl-static/Makefile: linking fails with llvm = 3.4 Severity: normal Classification: Unclassified

[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 David okias Heidelberger david.heidelber...@ixit.cz changed: What|Removed |Added CC|

[Mesa-dev] [Bug 70411] New: glInvalidateFramebuffer fails with GL_INVALID_ENUM

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70411 Priority: medium Bug ID: 70411 Assignee: mesa-dev@lists.freedesktop.org Summary: glInvalidateFramebuffer fails with GL_INVALID_ENUM Severity: normal Classification: Unclassified

[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 --- Comment #2 from Mike Lothian m...@fireburn.co.uk --- Hi David Try building llvm without terminfo and see if you get the same issue On 13 Oct 2013 00:12, bugzilla-dae...@freedesktop.org wrote: *Comment # 1

[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 --- Comment #3 from David okias Heidelberger david.heidelber...@ixit.cz --- --enable-terminfo=no --enable-curses=no it works well, after this. Thank you. But it has still problem described in bugreport (if this two options arent

[Mesa-dev] [PATCH 0/2] Fixups for send-from-grf regressions

2013-10-12 Thread Chris Forbes
This series fixes some regressions introduced by the send-from-grf merge. Possibly none of them show up with piglit master, but they cause extreme breakage in my gs5-gather piglit branch. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 1/2] i965/fs: Fix handling of sampler messages with header but zero offset

2013-10-12 Thread Chris Forbes
Gather unconditionally uses a header, but in some cases the texture_offset value will be zero. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 2/2] i965/fs: Fix type of header register for sampler messages

2013-10-12 Thread Chris Forbes
Previously this was float, which caused the copy from g0 to mangle everything. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp

Re: [Mesa-dev] [PATCH 1/2] gallium: add PIPE_CAP_MIXED_FRAMEBUFFER_SIZES

2013-10-12 Thread Ilia Mirkin
ping On Fri, Oct 4, 2013 at 4:32 AM, Ilia Mirkin imir...@alum.mit.edu wrote: This CAP will determine whether ARB_framebuffer_object can be enabled. The nv30 driver does not allow mixing swizzled and linear zsbuf/cbuf textures. Signed-off-by: Ilia Mirkin imir...@alum.mit.edu ---

Re: [Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread Mike Lothian
Out of interest which compiler are you using and which linker? I'm sure I was seeing this with gcc 4.7 and ld.bfd but not on my gcc 4.8 system with ld.gold (both llvm's were compiled with the gold use flag though) I've not seen any issues on the gcc 4.7 system since upgrading to 4.8 still with

[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm = 3.4

2013-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70410 --- Comment #4 from Mike Lothian m...@fireburn.co.uk --- Out of interest which compiler are you using and which linker? I'm sure I was seeing this with gcc 4.7 and ld.bfd but not on my gcc 4.8 system with ld.gold (both llvm's were compiled with