Re: [Mesa-dev] glGetString(GL_EXTENSIONS) omits mapbuffer extension

2012-02-24 Thread Ian Romanick
You can call GetProcAddress on ANYTHING and it won't return NULL. It will even return a pointer for glHamSandwich. You must check the extension string. On Feb 24, 2012, at 6:13 PM, Simon Que wrote: > Previously posted at mesa-users. > > TL;DR: GL_EXTENSIONS string does not contain "GL_OES_map

[Mesa-dev] [Bug 46597] New: nv50_pc.h:351: nv_alloc_instruction: Assertion `pc->num_instructions < 2048' failed.

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46597 Bug #: 46597 Summary: nv50_pc.h:351: nv_alloc_instruction: Assertion `pc->num_instructions < 2048' failed. Classification: Unclassified Product: Mesa Version: git Plat

[Mesa-dev] glGetString(GL_EXTENSIONS) omits mapbuffer extension

2012-02-24 Thread Simon Que
Previously posted at mesa-users. TL;DR: GL_EXTENSIONS string does not contain "GL_OES_mapbuffer", but the mapbuffer extension functions are still available through eglGetProcAddress(). I am using Mesa GLESv2 with Linaro's glmark2 benchmark. The benchmark uses the functions "glMapBufferOES" and "

Re: [Mesa-dev] [Bug 46596] New: Set close on exec flag FD_CLOEXEC

2012-02-24 Thread David Fries
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. Signed-off-by: David Fries Reviewed-by: Adam Jackson --- patch for above bug report src/egl/drivers/dri2/platform_wayland.c| 11 ++- src/egl/driv

[Mesa-dev] [Bug 46596] New: Set close on exec flag FD_CLOEXEC

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46596 Bug #: 46596 Summary: Set close on exec flag FD_CLOEXEC Classification: Unclassified Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW

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

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #18 from Götz 2012-02-24 15:29:35 PST --- Created attachment 57613 --> https://bugs.freedesktop.org/attachment.cgi?id=57613 backtrace -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

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

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #17 from Götz 2012-02-24 15:28:35 PST --- Ian Romanick, I am not sure how to do the breakpoint. I did a backtrace, but I don't know if it is useful. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

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

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 Rick Jenkins changed: What|Removed |Added CC||r...@hartmantech.com --- Comment #16 from

[Mesa-dev] [Bug 46591] Firefox segfaults when visiting website, reporting Mesa error

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46591 Rick Jenkins changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|

[Mesa-dev] [Bug 46591] Firefox segfaults when visiting website, reporting Mesa error

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46591 --- Comment #2 from Rick Jenkins 2012-02-24 13:47:02 PST --- Spot on: fuchsia rick # lspci -nn | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 82865G Integrated Graphics Controller [8086:2572] (rev 02) My apologies for t

[Mesa-dev] [Bug 46591] Firefox segfaults when visiting website, reporting Mesa error

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46591 Kenneth Graunke changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Kenneth G

[Mesa-dev] [Bug 46591] New: Firefox segfaults when visiting website, reporting Mesa error

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46591 Bug #: 46591 Summary: Firefox segfaults when visiting website, reporting Mesa error Classification: Unclassified Product: Mesa Version: 7.11 Platform: x86 (IA32)

[Mesa-dev] [PATCH] gallium: Adds PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

2012-02-24 Thread Vincent Lejeune
v2: remove underscore between NO and PERSPECTIVE in PIPE_PACKING_CONSTRAINT_SMOOTH_NO_PERSPECTIVE_MIXED --- src/gallium/include/pipe/p_defines.h | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_def

[Mesa-dev] [PATCH] st/mesa: Convert PIPE_SHADER_CAP_CONSTRAINT_* to mesa's PACKING_CONSTRAINT_*

2012-02-24 Thread Vincent Lejeune
v2: remove underscore between NO and PERSPECTIVE in PIPE_PACKING_CONSTRAINT_SMOOTH_NO_PERSPECTIVE_MIXED --- src/mesa/state_tracker/st_extensions.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_trac

[Mesa-dev] [PATCH] glsl: Adds GLES 2.0 varyings packing heuristic

2012-02-24 Thread Vincent Lejeune
v2: Adds the others packing heuristic v3: update enum name --- src/glsl/linker.cpp | 514 +++ 1 files changed, 514 insertions(+), 0 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 707e645..3f8ef99 100644 --- a/src/glsl/li

[Mesa-dev] [PATCH 4/4] nouveau: Return PIPE_PACKING_CONSTRAINT_NO_MIXED_INTERPOLATION to vpack query

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

[Mesa-dev] [PATCH 3/4] r600g: Return PIPE_PACKING_CONSTRAINT_NO_MIXED_INTERPOLATION to varpack query

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

[Mesa-dev] [PATCH 1/4] gallium: Adds PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS

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

[Mesa-dev] [PATCH 2/4] st/mesa: Convert PIPE_SHADER_CAP_CONSTRAINT_* to mesa's PACKING_CONSTRAINT_*

2012-02-24 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_extensions.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 3092a1a..621d910 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src

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

2012-02-24 Thread Vincent Lejeune
v2: update enum name --- 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..bc82d7d 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +

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

2012-02-24 Thread Vincent Lejeune
v2: Prefix enum with PACKING_CONSTRAINT_ + fix doxygen comment --- 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..c29fc16 100644 --- a/sr

Re: [Mesa-dev] [PATCH 2/2] gallium/translate: require SSE2

2012-02-24 Thread Marek Olšák
On Fri, Feb 24, 2012 at 7:40 PM, Jose Fonseca wrote: > Marek, > > Looking at the source code, it actually looks like > src/gallium/auxiliary/translate/translate_sse.c can cope without SSE2 (just > SSE). Not sure if it's getting the right bits though. Ah yes, you're right. I take the patch back.

Re: [Mesa-dev] [PATCH 1/2] gallium/rtasm: properly detect SSE and SSE2

2012-02-24 Thread Jose Fonseca
This one looks good to me. Jose - Original Message - > This should fix crashes on ancient processors. > --- > src/gallium/auxiliary/rtasm/rtasm_cpu.c | 48 > +++--- > 1 files changed, 24 insertions(+), 24 deletions(-) > > diff --git a/src/gallium/auxiliary/rta

Re: [Mesa-dev] [PATCH 2/2] gallium/translate: require SSE2

2012-02-24 Thread Jose Fonseca
Marek, Looking at the source code, it actually looks like src/gallium/auxiliary/translate/translate_sse.c can cope without SSE2 (just SSE). Not sure if it's getting the right bits though. Jose - Original Message - > --- > src/gallium/auxiliary/translate/translate_sse.c |3 +-- > 1

[Mesa-dev] [PATCH 2/2] gallium/translate: require SSE2

2012-02-24 Thread Marek Olšák
--- src/gallium/auxiliary/translate/translate_sse.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index 54414ef..ed16058 100644 --- a/src/gallium/auxiliary/translate/tran

[Mesa-dev] [PATCH 1/2] gallium/rtasm: properly detect SSE and SSE2

2012-02-24 Thread Marek Olšák
This should fix crashes on ancient processors. --- src/gallium/auxiliary/rtasm/rtasm_cpu.c | 48 +++--- 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/gallium/auxiliary/rtasm/rtasm_cpu.c b/src/gallium/auxiliary/rtasm/rtasm_cpu.c index 0461c81..7afcf

[Mesa-dev] [Bug 46191] mesa lacks manpages

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46191 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

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

2012-02-24 Thread Christoph Bumiller
Do you fix tgsi_declaration to support per-component interpolation mode anywhere ? If you don't, or if you don't update the corresponding bits in the driver code to handle that (which I don't expect you to), you have to put NO_MIXED_INTERPOLATION everywhere. On 02/23/2012 09:12 PM, Vincent Lejeun

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

2012-02-24 Thread Jose Fonseca
Looks good and I think it is the right thing to do. Thanks Marek. Jose - Original Message - > 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

[Mesa-dev] [Bug 40729] d3d1x build error: any interface changes lately?

2012-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40729 soulpa...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED