[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Thierry Vignaud changed: What|Removed |Added Depends on||34321 -- Configure bugmail: https://b

[Mesa-dev] [Bug 34321] The ARB_fragment_program subset of ARB_draw_buffers not implemented

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34321 Thierry Vignaud changed: What|Removed |Added Blocks||36182 -- Configure bugmail: https://b

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #8 from Turo Lamminen 2011-04-13 01:14:32 PDT --- (In reply to comment #7) > No, it doesn't. First, there is no Shader Model 3 in OpenGL per se. Second, > ARB_fragment_program matches DX9's Shader Model 2, not 3, so the game lies > a

[Mesa-dev] Nouveau DRI build error

2011-04-13 Thread son_of_the_osiris
With current git master I have got following error: gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -march=

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 James Le Cuirot changed: What|Removed |Added CC||ch...@aura-online.co.uk -- Configure

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #9 from Marek Olšák 2011-04-13 03:00:43 PDT --- (In reply to comment #8) > (In reply to comment #7) > > No, it doesn't. First, there is no Shader Model 3 in OpenGL per se. Second, > > ARB_fragment_program matches DX9's Shader Model 2,

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #10 from Turo Lamminen 2011-04-13 03:33:29 PDT --- (In reply to comment #9) > I don't see any shaders in that log that would need SM3.0. Yes, there is one > with 454 instructions, but that's still well within the limits of SM2.0b. I

[Mesa-dev] [Bug 34321] The ARB_fragment_program subset of ARB_draw_buffers not implemented

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34321 Sven Arvidsson changed: What|Removed |Added CC||s...@whiz.se -- Configure bugmail: htt

Re: [Mesa-dev] Nouveau DRI build error

2011-04-13 Thread Brian Paul
On Tue, Apr 12, 2011 at 3:24 AM, wrote: > With current git master I have got following error: > > gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver > -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa > -I../../../../../src/egl/main -I../../../../../src/eg

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Sean McNamara changed: What|Removed |Added CC||gm.potato...@gmail.com -- Configure bug

Re: [Mesa-dev] gdb doesnt step into GL API calls of gears.

2011-04-13 Thread kumar vemuri
OK. i tried your command i.e. "./configure --enable-debug --enable-gallium-swrast --with-driver=xlib" and did "make". I also ran "scons libgl-xlib" which i guess wasnt necessary. Correct me if i am wrong? Now i set the LD_LIBRARY_PATH to lib/gallium and run gears. i see around 60fps on my AMD athl

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #11 from imamdxl8...@gmail.com 2011-04-13 08:15:31 PDT --- Sorry my glxinfo, name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 server glx extensions: GL

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #12 from imamdxl8...@gmail.com 2011-04-13 08:22:41 PDT --- I can run this game Windows version via WINE. I need to enable GLSL in WINE otherwise the game does not render all the scene properly. But the game is laggy. The plus point of

[Mesa-dev] [Bug 25588] Lots of ARB_vertex_program/fragment_program parser errors in ETQW (if GLSL is unavailable)

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25588 Fabio Pedretti changed: What|Removed |Added Resolution|WORKSFORME |WONTFIX Component|Mesa core

Re: [Mesa-dev] [PATCH 1/4] i965: Remove unnecessary release/reference of brw_context.state.depth_region

2011-04-13 Thread Eric Anholt
On Tue, 12 Apr 2011 15:33:55 -0700, c...@chad-versace.us wrote: > From: Chad Versace > > Release the old depth region and reference the new one *only* if it has > changed. Having written that patch before and misplaced it apparently: Reviewed-by: Eric Anholt pgpXhkxtGuw5N.pgp Description: PG

Re: [Mesa-dev] [PATCH] i965: Allocate the whole URB to the VS and fix calculations for Gen6.

2011-04-13 Thread Eric Anholt
On Tue, 12 Apr 2011 15:42:06 -0700, Kenneth Graunke wrote: > Since we never enable the GS on Sandybridge, there's no need to allocate > it any URB space. > > Furthermore, the previous calculation was incorrect: it neglected to > multiply by nr_vs_entries, instead comparing whether twice the size

[Mesa-dev] [PATCH] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Eric Anholt
Fixes fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 --- src/mesa/program/program_parse.y | 15 +++ src/mesa/program/program_parser.h |1 + 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/program_parse.y b/sr

[Mesa-dev] [PATCH 1/3] r600g: don't flush caches if we already did so, even for a subset of the flags

2011-04-13 Thread Bas Nieuwenhuizen
Merging the flushes that are left doesn't seem to give a significant performance improvement --- src/gallium/winsys/r600/drm/r600_hw_context.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r6

[Mesa-dev] [PATCH 2/3] r600g: also flush read caches if currently in use

2011-04-13 Thread Bas Nieuwenhuizen
If a resource isn't set again during a draw and the previous draw had it as colorbuffer, then the read caches wouldn't get invalidated. This hasn't surfaced as a bug yet because all resources are set again due to dirty marking with many false positives. It currently flushes all read caches, beca

[Mesa-dev] [PATCH 3/3] r600g: only emit blocks when they are changed

2011-04-13 Thread Bas Nieuwenhuizen
previously, we always emitted blocks that were set before a draw, after this patch the block only gets emitted when it is really changed. Also added a force parameter to r600_context_pipe_state_set, because the shader constant buffers need 2 registers in different blocks updated, even if only one

[Mesa-dev] [PATCH 3/3] mesa: Expose ATI_draw_buffers.

2011-04-13 Thread Eric Anholt
This is the same as ARB_draw_buffers (which derived from it), except for s/ARB/ATI/. The glapi bits were already in place, and what was missing was just the ARB_fp part. The new Humble Bundle game "trine" tries to use this extension without checking that it's exposed, which this works around. Bu

[Mesa-dev] [PATCH 2/3] mesa: Add support for OPTION ATI_draw_buffers to ARB_fp.

2011-04-13 Thread Eric Anholt
Tested by piglit ati_draw_buffers-arbfp. --- src/mesa/program/program_parse_extra.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/mesa/program/program_parse_extra.c b/src/mesa/program/program_parse_extra.c index ae98b78..9ade9be 100644 --- a/src/mesa/pro

[Mesa-dev] [PATCH 1/3] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Eric Anholt
Fixes fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 --- src/mesa/program/program_parse.y | 29 + src/mesa/program/program_parser.h |1 + 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/progra

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Andrei Slavoiu changed: What|Removed |Added CC||ansl...@yahoo.com -- Configure bugmail

[Mesa-dev] [Bug 34321] The ARB_fragment_program subset of ARB_draw_buffers not implemented

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34321 Andrei Slavoiu changed: What|Removed |Added CC||ansl...@yahoo.com -- Configure bugmail

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Thibaut GIRKA changed: What|Removed |Added CC||t...@sitedethib.com -- Configure bugmai

Re: [Mesa-dev] [PATCH 1/3] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Brian Paul
On 04/13/2011 01:27 PM, Eric Anholt wrote: Fixes fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 --- src/mesa/program/program_parse.y | 29 + src/mesa/program/program_parser.h |1 + 2 files changed, 30 insertions(+), 0 de

[Mesa-dev] mesa version for software rendered opengl 2.0 + glsl 1.20 + GL_ARB_framebuffer_object ?

2011-04-13 Thread Martin Olsson
Is there any version of mesa that provides software rendered opengl 2.0 with glsl 1.20 and either GL_ARB_framebuffer_object or one of the exts that replace it. If yes, what is the lowest mesa version that has this support? Also, do you guys have a wiki page that maps which cards and driver vers

Re: [Mesa-dev] [PATCH 2/3] mesa: Add support for OPTION ATI_draw_buffers to ARB_fp.

2011-04-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2011 12:27 PM, Eric Anholt wrote: > Tested by piglit ati_draw_buffers-arbfp. > --- > src/mesa/program/program_parse_extra.c | 12 +++- > 1 files changed, 11 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/program/program_pa

Re: [Mesa-dev] [PATCH 1/3] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2011 12:27 PM, Eric Anholt wrote: > Fixes fbo-drawbuffers-arbfp. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 I've been using References: for this lately, and I think Chris has too. I don't care which we use, but I want

Re: [Mesa-dev] [PATCH 1/3] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Alex Deucher
On Wed, Apr 13, 2011 at 7:23 PM, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/13/2011 12:27 PM, Eric Anholt wrote: >> Fixes fbo-drawbuffers-arbfp. >> >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 > > I've been using References: for this lately,

Re: [Mesa-dev] [PATCH 1/3] mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.

2011-04-13 Thread Eric Anholt
On Wed, 13 Apr 2011 16:23:32 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/13/2011 12:27 PM, Eric Anholt wrote: > > Fixes fbo-drawbuffers-arbfp. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 > > I've been using References: for this

[Mesa-dev] [PATCH] mesa: Fix _mesa_unpack_dudv_span_byte assertion.

2011-04-13 Thread Eric Anholt
It was accepting only GL_DUDV_ATI and not the specific sized format GL_DU8DV8_ATI. Fixes assertion failure at startup in Shadowgrounds. --- Have these assertions in texstore stuff actually proven useful to people? So far it seems like I'm always just adding more entries to them because they neve

[Mesa-dev] [Bug 34321] The ARB_fragment_program subset of ARB_draw_buffers not implemented

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34321 Eric Anholt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Bug 36182 depends on bug 34321, which changed state. Bug 34321 Summary: The ARB_fragment_program subset of ARB_draw_buffers not implemented https://bugs.freedesktop.org/show_bug.cgi?id=34321 What|Old Value |New

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 Eric Anholt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] mesa version for software rendered opengl 2.0 + glsl 1.20 + GL_ARB_framebuffer_object ?

2011-04-13 Thread Brian Paul
On 04/13/2011 02:01 PM, Martin Olsson wrote: Is there any version of mesa that provides software rendered opengl 2.0 with glsl 1.20 and either GL_ARB_framebuffer_object or one of the exts that replace it. If yes, what is the lowest mesa version that has this support? Mesa 6.5.3 was the first

Re: [Mesa-dev] [PATCH] mesa: Fix _mesa_unpack_dudv_span_byte assertion.

2011-04-13 Thread Brian Paul
On 04/13/2011 07:05 PM, Eric Anholt wrote: It was accepting only GL_DUDV_ATI and not the specific sized format GL_DU8DV8_ATI. Fixes assertion failure at startup in Shadowgrounds. --- Have these assertions in texstore stuff actually proven useful to people? Yes, they were very helpful to me wh

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #14 from imamdxl8...@gmail.com 2011-04-13 22:42:13 PDT --- is this eligible for Mesa 7.10.2 or Mesa 7.10-series. So that Ubuntu 11.04 can use it. Thank you -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

Re: [Mesa-dev] List of OpenGL features/extensions to avoid?

2011-04-13 Thread Miles Bader
Eric Anholt writes: > That's hard, because floating point framebuffers are so useful (and > obvious). ... and so undeserving of patent protection ... :[ -miles -- Corporation, n. An ingenious device for obtaining individual profit without individual responsibility. ___

[Mesa-dev] [PATCH] add support for GL_RGBA + GL_UNSIGNED_INT_8_8_8_8 in st_fast_readpixels

2011-04-13 Thread Pierre-Eric
As Lightsmark seems to make use of glReadPixels with {GL_RGBA + GL_UNSIGNED_INT_8_8_8_8} parameters, I built a short patch to allow 'st_fast_readpixels' to handle this combination. It's been tested using piglit's pixelFormat test + a custom app. Best regards, --Pierre-Eric From 8c62b42cfb8108da9e

[Mesa-dev] [Bug 36182] Game Trine from http://www.humblebundle.com/ needs ATI_draw_buffers

2011-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36182 --- Comment #15 from imamdxl8...@gmail.com 2011-04-13 23:28:52 PDT --- just applied three patches to Mesa 7.10.2 28cec9e832b716b84c11ddabfcee74e0daf6ec49 a9a02c8a39620515ec9fd0d774ce329cf67ecb4e manually to match Mesa 7.10 convention fb6e39737a24