[Mesa-dev] [Bug 37147] Compile error in nouveau if --enable-shared-dricore is set

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37147 Fabio Pedretti fabio@libero.it changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [PATCH 1/2] i965: Attempt to un-muddle Gen6 data port message target defines.

2011-05-13 Thread Kenneth Graunke
These are documented on page 245 of IHD_OS_Vol4_Part2.pdf (the public Sandybridge documentation/SEND instruction description). Somebody had the bright idea to reuse gen4/5 defines labelled READ/WRITE which just happened to be the same values as Render Cache/Sampler Cache. It turns out that this

[Mesa-dev] [PATCH 2/2] i965: Rename dp_render_target struct to gen6_dp.

2011-05-13 Thread Kenneth Graunke
This is actually just the message descriptor for Gen6+ dataport access; it has nothing to do with the render cache. Access to the sampler cache and constant cache also would use this struct; rename for clarity. Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---

[Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Kenneth Graunke
Using the #define'd constant is better than 0 with a comment. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_eu_emit.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 Sven Arvidsson s...@whiz.se changed: What|Removed |Added CC||s...@whiz.se --- Comment

[Mesa-dev] [PATCH 1/3] st/dri: Support dri2 useflags in dri2_create_image

2011-05-13 Thread Benjamin Franzke
--- src/gallium/state_trackers/dri/drm/dri2.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 30326a2..e471e8e 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++

[Mesa-dev] [PATCH 2/3] st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESA

2011-05-13 Thread Benjamin Franzke
--- .../state_trackers/egl/common/egl_g3d_image.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_image.c b/src/gallium/state_trackers/egl/common/egl_g3d_image.c index e1c8316..34bb92c 100644 ---

[Mesa-dev] [PATCH 3/3] r600g: Add support for PIPE_BIND_CURSOR

2011-05-13 Thread Benjamin Franzke
--- If these checks are not sufficent see this as feature request. :) --- src/gallium/drivers/r600/r600_texture.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #3 from Henri Verbeet hverb...@gmail.com 2011-05-13 04:46:58 PDT --- FWIW, my impression is that there's a copy / transfer somewhere that applies color space conversion while it shouldn't, similar to the issue fixed by commit

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 Bryan Cain plombex...@gmail.com changed: What|Removed |Added CC||plombex...@gmail.com

[Mesa-dev] [Bug 37177] New: Mathematica Plot3D: Crash in dri2InvalidateBuffers

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37177 Summary: Mathematica Plot3D: Crash in dri2InvalidateBuffers Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal

Re: [Mesa-dev] [PATCH 1/3] u_math.h: Remove redundant mingw32 ffs definition

2011-05-13 Thread Brian Paul
On Sun, May 8, 2011 at 10:17 PM, Matt Turner matts...@gmail.com wrote: Signed-off-by: Matt Turner matts...@gmail.com ---  src/gallium/auxiliary/util/u_math.h |    4  1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/util/u_math.h

Re: [Mesa-dev] [PATCH] st/mesa: expose ARB_shader_texture_lod if SM3 is supported

2011-05-13 Thread Brian Paul
On Mon, May 9, 2011 at 12:36 PM, Marek Olšák mar...@gmail.com wrote: This is the only missing piece, everything else is already in place. ---  src/mesa/state_tracker/st_extensions.c |    4  1 files changed, 4 insertions(+), 0 deletions(-) diff --git

Re: [Mesa-dev] OpenGL driver detection now implemented in Firefox/X11; some questions

2011-05-13 Thread Brian Paul
On Fri, May 6, 2011 at 6:29 AM, Benoit Jacob bja...@mozilla.com wrote: Hi Mesa Developers, 2 parts in this email: news about Firefox, and then some questions. === News about Firefox === This is a follow-up to earlier threads [1, 2]. As of today, Firefox Nightly [3], which will become

Re: [Mesa-dev] OpenGL driver detection now implemented in Firefox/X11; some questions

2011-05-13 Thread Gonsolo
We recently added the git commit ID to the version string (but only if Mesa's built in a git repo). Would that help? Given that git commit IDs are not monotonically increasing, does one have to check _all_ commit IDs (between versions)? g ___

Re: [Mesa-dev] [PATCH 2/2] i965: Rename dp_render_target struct to gen6_dp.

2011-05-13 Thread Eric Anholt
On Fri, 13 May 2011 08:58:14 -0700, Kenneth Graunke kenn...@whitecape.org wrote: This is actually just the message descriptor for Gen6+ dataport access; it has nothing to do with the render cache. Access to the sampler cache and constant cache also would use this struct; rename for clarity.

Re: [Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Eric Anholt
On Fri, 13 May 2011 09:05:52 -0700, Kenneth Graunke kenn...@whitecape.org wrote: Using the #define'd constant is better than 0 with a comment. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Eric Anholt e...@anholt.net pgpH0fG0QqBTN.pgp Description: PGP signature

[Mesa-dev] [Bug 36738] Openarena crash with r300g, swrastg + llvm 2.8

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36738 --- Comment #22 from José Fonseca jfons...@vmware.com 2011-05-13 10:34:20 PDT --- (In reply to comment #20) Now everything is clear, I've always used openarenа 0.8.1 from openarena.ws, when i update openarena to 0.8.5 it actually will work

[Mesa-dev] [Bug 36738] Openarena crash with r300g, swrastg + llvm 2.8

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36738 --- Comment #23 from Iaroslav pontost...@gmail.com 2011-05-13 10:54:04 PDT --- It could be an application bug.. Yes, but with llvm 2.8 all work and there are Urban Terror, the latest version of which segfault probably because use old version of

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #5 from Tobias Jakobi liquid.a...@gmx.net 2011-05-13 11:30:00 PDT --- Adding FEAR to the list of affected games. Loading screen gets brighter while loading process advances. This carries over to the menu later. -- Configure

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #6 from David Mills d.mills-...@guesny.net 2011-05-13 11:50:10 PDT --- I don't know if this is the same bug, but in SC2 the gamma ramped up during the loading screen, each time getting brighter and brighter. The only thing is that I

Re: [Mesa-dev] [PATCH] i965: Use BRW_DATAPORT_READ_TARGET_DATA_CACHE instead of 0.

2011-05-13 Thread Chad Versace
On Fri, 13 May 2011 09:05:52 -0700, Kenneth Graunke kenn...@whitecape.org wrote: Using the #define'd constant is better than 0 with a comment. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_eu_emit.c |6 +++--- 1 files changed, 3 insertions(+),

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #7 from Jaime Rave jaimer...@gmail.com 2011-05-13 12:34:39 PDT --- This is a dup of bug 35373 or at least is related to it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this

Re: [Mesa-dev] [PATCH 05/11] i965/fs: Add support for if statements in 16-wide mode.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: It turns out there's nothing in the hardware preventing this, it was just the lame backend we used to have. Improves glbenchmark Egypt framerate 4.4% +/- 0.3% (n=3), and Pro by 2.6% +/- 0.6% (n=3). Reviewed-by: Kenneth Graunke kenn...@whitecape.org

Re: [Mesa-dev] [PATCH 10/11] i965/gen6: Add support for point min/max size from ARB_point_parameters.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: Fixes glean pointAtten. --- src/mesa/drivers/dri/i965/gen6_sf_state.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index

[Mesa-dev] [Bug 36609] 45920d2ecb38b14fdda5253fecce996570c22863 breaks sauerbraten on r300g

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36609 Marek Olšák mar...@gmail.com changed: What|Removed |Added Component|Mesa core |Drivers/Gallium/r300

Re: [Mesa-dev] [PATCH 11/11] i965: Instead of fallback on missing region, just bind a null renderbuffer.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: The change for GPU hanging in 13bab58f04c1ec6d0d52760eab490a0997d9abe2 fell back even when rb == NULL, which is wrong for GLES2 and caused segfaulting in GLES2 conformance. For the GPU hang case (where the broken 2D driver failed to allocate a BO for

Re: [Mesa-dev] [PATCH 02/11] i965/fs: Cut an instruction and a temporary from gen6 discard statements.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: I thought I was thwarted initially when I couldn't do conditional mod on a MOV, and couldn't use two immediate constants in one instruction. But g0 != g0 is also a way to produce a failing comparison. [snip] + some_register =

Re: [Mesa-dev] [PATCH 07/11] i965: Add support for correct GL_CLAMP behavior by clamping coordinates.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: This removes the stupid strict-conformance fallback code I broke when adding ARB_sampler_objects. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36572 Huh. So we were just doing it wrong? It sounds like this patch cleverly makes it work in

Re: [Mesa-dev] [PATCH 09/11] i965/fs: Don't emit a header on gen5+ sample messages unless required.

2011-05-13 Thread Kenneth Graunke
On 05/12/2011 09:05 PM, Eric Anholt wrote: Improves glbenchmark egypt performance 0.6% +/- 0.4% (n=6). ... + bool header_present = false; ... if (ir-shadow_comparitor) { - mlen = MAX2(mlen, 1 + 4 * reg_width); + mlen = MAX2(mlen, header_present + 4 * reg_width); Relying on

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #8 from Christoph Bumiller e0425...@student.tuwien.ac.at 2011-05-13 16:40:53 PDT --- Check piglit's fbo-srgb-blit, it makes the state tracker order a resource_copy_region between UNORM and SRGB which causes unwanted conversion if you

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #9 from Marek Olšák mar...@gmail.com 2011-05-13 17:07:09 PDT --- (In reply to comment #8) Check piglit's fbo-srgb-blit, it makes the state tracker order a resource_copy_region between UNORM and SRGB which causes unwanted conversion

Re: [Mesa-dev] The current status of the gallium vmwgfx driver

2011-05-13 Thread Jakob Bornecrantz
On Tue, May 10, 2011 at 1:31 PM, HaiTao Feng haitao.f...@gmail.com wrote: Dear Gallium Vmwgfx Developers, Could I know the current status of the gallium vmwgfx driver? Is it able to run Linux guest with OpenGL accelertion? Yes, I have tested it very recently on Ubuntu 11.10, there are some

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #10 from Bryan Cain plombex...@gmail.com 2011-05-13 19:30:58 PDT --- (In reply to comment #8) Check piglit's fbo-srgb-blit, it makes the state tracker order a resource_copy_region between UNORM and SRGB which causes unwanted

[Mesa-dev] [Bug 37150] sRGB textures are too bright in Starcraft 2

2011-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37150 --- Comment #11 from Henri Verbeet hverb...@gmail.com 2011-05-13 20:55:57 PDT --- (In reply to comment #9) The fact David Mills observed the same issue on the NVIDIA blob suggests this might not be a bug in Mesa. Wine having bugs isn't unheard