Re: [Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes (enable libva over wayland)

2012-02-23 Thread Benjamin Franzke
Hi, Sorry for not responding earlier.. There are some objections from my side: 1. These functions only cover the driver-independent lookups. But for the wl_egl_pixmap there was a need to access driver_private: http://cgit.freedesktop.org/~bnf/libva/tree/va/wayland/va_wayland.c?h=wayland

Re: [Mesa-dev] [PATCH] glapi: Fix incorrect enum value.

2012-02-23 Thread Ian Romanick
On 02/22/2012 04:06 PM, Chad Versace wrote: On 02/22/2012 02:22 PM, Ian Romanick wrote: On 02/22/2012 02:17 PM, Paul Berry wrote: On 22 February 2012 13:52, Ian Romanicki...@freedesktop.org mailto:i...@freedesktop.org wrote: On 02/22/2012 01:41 PM, Paul Berry wrote: From

Re: [Mesa-dev] [PATCH] glapi: Fix incorrect enum value.

2012-02-23 Thread Ian Romanick
On 02/22/2012 04:14 PM, Paul Berry wrote: On 22 February 2012 16:06, Chad Versace chad.vers...@linux.intel.com mailto:chad.vers...@linux.intel.com wrote: On 02/22/2012 02:22 PM, Ian Romanick wrote: On 02/22/2012 02:17 PM, Paul Berry wrote: On 22 February 2012 13:52, Ian Romanick

Re: [Mesa-dev] [Patch 2] wayland-drm: export wayland-drm-client-protocol.h for installation (enable libva over wayland)

2012-02-23 Thread Benjamin Franzke
If we really want the drm protocol header to be public, i'd prefer to have it in a seperate repository. But Kristian didnt want that. But in the meantime, whats so bad in having that simple protocol file copied over? 2012/2/23 Zhao, Halley halley.z...@intel.com: Resend the patch, it is required

[Mesa-dev] [Bug 46502] New: Wine crashes with idnirect rendering

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46502 Bug #: 46502 Summary: Wine crashes with idnirect rendering Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86 (IA32) OS/Version: Linux (All)

[Mesa-dev] [Bug 46502] Wine crashes with idnirect rendering

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46502 --- Comment #1 from Kusanagi Kouichi sl...@ac.auone-net.jp 2012-02-23 03:29:08 PST --- Created attachment 57514 -- https://bugs.freedesktop.org/attachment.cgi?id=57514 testcase -- Configure bugmail:

[Mesa-dev] [Bug 46502] Wine crashes with idnirect rendering

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46502 --- Comment #2 from Kusanagi Kouichi sl...@ac.auone-net.jp 2012-02-23 03:29:42 PST --- Created attachment 57515 -- https://bugs.freedesktop.org/attachment.cgi?id=57515 backtrace -- Configure bugmail:

[Mesa-dev] [Bug 46502] Wine crashes with idnirect rendering

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46502 --- Comment #3 from Kusanagi Kouichi sl...@ac.auone-net.jp 2012-02-23 03:30:36 PST --- Created attachment 57516 -- https://bugs.freedesktop.org/attachment.cgi?id=57516 glxinfo -- Configure bugmail:

[Mesa-dev] [PATCH] glsl: Avoid delaying output write when there is no output read

2012-02-23 Thread Vincent Lejeune
This fix bug #46004 --- src/glsl/lower_output_reads.cpp |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/glsl/lower_output_reads.cpp b/src/glsl/lower_output_reads.cpp index 415b541..119d45a 100644 --- a/src/glsl/lower_output_reads.cpp +++

[Mesa-dev] [Bug 46528] New: Compilation fail with LLVM under Windows 7 x64 in release

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46528 Bug #: 46528 Summary: Compilation fail with LLVM under Windows 7 x64 in release Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86-64 (AMD64)

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #14 from Ian Romanick i...@freedesktop.org 2012-02-23 09:05:47 PST --- (In reply to comment #12) OK, indeed we should not attempt to do WebGL on OpenGL 1. But the stack trace in

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 Ian Romanick i...@freedesktop.org changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH] glsl: Avoid delaying output write when there is no output read

2012-02-23 Thread Ian Romanick
On 02/23/2012 06:46 AM, Vincent Lejeune wrote: Can you provide some analysis as to why this fixes the problem? That information should be captured in the commit message. As far as I can tell, this just prevents the LHS of the assignment from being visited, and it's not obvious how that

[Mesa-dev] [PATCH] st/dri: Fix crash in st/dri from dri format commit

2012-02-23 Thread Jakob Bornecrantz
Introduced with 8de5c355fa2bf0f30df2c7cf39aee01e793284bf, it would probably just crash. Cheers, Jakob. Signed-off-by: Jakob Bornecrantz ja...@vmware.com --- src/gallium/state_trackers/dri/drm/dri2.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH] st/dri: Fix crash in st/dri from dri format commit

2012-02-23 Thread Jesse Barnes
On Thu, 23 Feb 2012 18:50:17 +0100 Jakob Bornecrantz ja...@vmware.com wrote: Introduced with 8de5c355fa2bf0f30df2c7cf39aee01e793284bf, it would probably just crash. Cheers, Jakob. Signed-off-by: Jakob Bornecrantz ja...@vmware.com --- src/gallium/state_trackers/dri/drm/dri2.c |3

[Mesa-dev] [Bug 44405] Spring RTS crashes using r600g (5670, Redwood), kernel rejects relocations

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44405 --- Comment #11 from Marcin Baczyński marb...@gmail.com 2012-02-23 10:35:37 PST --- With todays 4a72d859b it still crashes. [ 3344.322850] [drm:radeon_cs_parser_relocs] *ERROR* gem object lookup failed 0x12f [ 3344.322853]

Re: [Mesa-dev] [PATCH] glapi: Fix incorrect enum value.

2012-02-23 Thread Chad Versace
On 02/23/2012 12:52 AM, Ian Romanick wrote: On 02/22/2012 04:06 PM, Chad Versace wrote: On 02/22/2012 02:22 PM, Ian Romanick wrote: On 02/22/2012 02:17 PM, Paul Berry wrote: Is there any good reason why we don't automatically generate files like enum.c as part of the mesa build process? The

[Mesa-dev] [PATCH 01/10] glsl: Adds an horizontal_location fields to ir_variable.

2012-02-23 Thread Vincent Lejeune
This field allows to address output variables more precisely (varyings won't have to hold a whole register if they are not vec4). --- src/glsl/ir.cpp |1 + src/glsl/ir.h | 22 ++ src/glsl/ir_clone.cpp |1 + src/glsl/linker.cpp |6 +- 4 files

[Mesa-dev] [PATCH 02/10] i965: Adds support for horizontal location

2012-02-23 Thread Vincent Lejeune
v2: less invasive changes --- src/mesa/drivers/dri/i965/brw_fs.cpp |4 +- src/mesa/drivers/dri/i965/brw_vec4.h |5 ++- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 60 +++ 3 files changed, 45 insertions(+), 24 deletions(-) diff --git

[Mesa-dev] [PATCH 03/10] glsl_to_tgsi: Adds support for horizontal location

2012-02-23 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 37 +++ 1 files changed, 31 insertions(+), 6 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index f139e95..5872519 100644 ---

[Mesa-dev] [PATCH 04/10] mesa: Adds parameter to drive varyings packing

2012-02-23 Thread Vincent Lejeune
--- src/mesa/main/mtypes.h| 10 ++ src/mesa/main/shaderapi.c |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 9200f3f..447d432 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2392,6

[Mesa-dev] [PATCH 05/10] glsl: rework the way varying location are assigned to prepare varying packing

2012-02-23 Thread Vincent Lejeune
--- src/glsl/linker.cpp | 123 ++- 1 files changed, 72 insertions(+), 51 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 6bdcac8..707e645 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -1819,6 +1819,34 @@

[Mesa-dev] [PATCH 07/10] i965: Set SMOOTH_NOPERSPECTIVE_MIXED... varying constraint in compiler option

2012-02-23 Thread Vincent Lejeune
--- src/mesa/drivers/dri/i965/brw_context.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 65de260..de4208b 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++

[Mesa-dev] [PATCH 08/10] glsl_to_tgsi: Adds a PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

2012-02-23 Thread Vincent Lejeune
--- src/gallium/include/pipe/p_defines.h |3 ++- src/mesa/state_tracker/st_extensions.c |3 +++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 4155178..f08070a 100644 ---

[Mesa-dev] [PATCH 09/10] r600g: Return NO_MIXED_... to VARYINGS_PACKING_CONSTRAINTS query

2012-02-23 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_pipe.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 3d35ed2..9ccb318 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++

[Mesa-dev] [PATCH 10/10] nouveau: Return NONE to VARYINGS_PACKING_CONSTRAINTS query

2012-02-23 Thread Vincent Lejeune
--- src/gallium/drivers/nv50/nv50_screen.c |2 ++ src/gallium/drivers/nvc0/nvc0_screen.c | 11 +++ src/gallium/drivers/nvfx/nvfx_screen.c |4 3 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_screen.c

Re: [Mesa-dev] [PATCH 08/10] glsl_to_tgsi: Adds a PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

2012-02-23 Thread Marek Olšák
The commit summary should start with st/mesa: or gallium:. Please also document the new cap in the gallium docs. Marek On Thu, Feb 23, 2012 at 9:12 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/gallium/include/pipe/p_defines.h   |    3 ++-  src/mesa/state_tracker/st_extensions.c |    3

Re: [Mesa-dev] [PATCH 08/10] glsl_to_tgsi: Adds a PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

2012-02-23 Thread Brian Paul
On Thu, Feb 23, 2012 at 3:12 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/gallium/include/pipe/p_defines.h   |    3 ++-  src/mesa/state_tracker/st_extensions.c |    3 +++  2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h

Re: [Mesa-dev] [PATCH 08/10] glsl_to_tgsi: Adds a PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

2012-02-23 Thread Brian Paul
On Thu, Feb 23, 2012 at 3:36 PM, Marek Olšák mar...@gmail.com wrote: The commit summary should start with st/mesa: or gallium:. I'd split the commit into two parts. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH 09/10] r600g: Return NO_MIXED_... to VARYINGS_PACKING_CONSTRAINTS query

2012-02-23 Thread Marek Olšák
On Thu, Feb 23, 2012 at 9:12 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/gallium/drivers/r600/r600_pipe.c |   13 +  1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index

Re: [Mesa-dev] [PATCH 04/10] mesa: Adds parameter to drive varyings packing

2012-02-23 Thread Brian Paul
On Thu, Feb 23, 2012 at 3:12 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/mesa/main/mtypes.h    |   10 ++  src/mesa/main/shaderapi.c |    1 +  2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 9200f3f..447d432

[Mesa-dev] merging remove-max-width branch to master

2012-02-23 Thread Brian Paul
Just FYI: I'm going to merge this branch to master soon. All the changes were pretty simple. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] gallium: remove PIPE_SHADER_CAP_OUTPUT_READ

2012-02-23 Thread Marek Olšák
r600g is the only driver which has made use of it. The reason the CAP was added was to fix some piglit tests when the GLSL pass lower_output_reads didn't exist. However, not removing output reads breaks the fallback for glClampColorARB, which assumes outputs are not readable. The fix would be