Re: [Mesa-dev] [PATCH] Better GPU program optimization in Mesa front end

2010-07-20 Thread Tom Stellard
On Mon, Jul 19, 2010 at 04:01:02PM -0700, Benjamin Segovia wrote: - Improved optimization of GPU programs. Now, swizzling is taken into account and swizzles are properly transformed while removing mov instructions. Removals of mov instructions are now much more effective - Analysis of

[Mesa-dev] [Bug 29163] New: [glsl2] glean/shaderAPI fail

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29163 Summary: [glsl2] glean/shaderAPI fail Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium

[Mesa-dev] r300 compiler: presubract branch

2010-07-20 Thread Tom Stellard
Hi, I've just pushed a branch called presub to my git repo: http://cgit.freedesktop.org/~tstellar/mesa/ This branch contains support for presubtract operations in the r300 compiler. The only operation that is currently being used is (1 - src0), but I'll be adding the other ones later. This is

[Mesa-dev] [Bug 29164] New: [GLSL 1.20] invariant variable shouldn't be used before declaration

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29164 Summary: [GLSL 1.20] invariant variable shouldn't be used before declaration Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Gordon Jin gordon@intel.com changed: What|Removed |Added Depends on||29097, 29163, 29164 --

[Mesa-dev] [Bug 29163] [glsl2] glean/shaderAPI fail

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29163 Gordon Jin gordon@intel.com changed: What|Removed |Added Blocks||29044 -- Configure

[Mesa-dev] [Bug 29164] [GLSL 1.20] invariant variable shouldn't be used before declaration

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29164 Gordon Jin gordon@intel.com changed: What|Removed |Added Blocks||29044 -- Configure

Re: [Mesa-dev] r300 compiler: presubract branch

2010-07-20 Thread Marek Olšák
Broken tests: - glean/texCombine - glean/texCombine4 Best regards. -Marek On Tue, Jul 20, 2010 at 8:36 AM, Tom Stellard tstel...@gmail.com wrote: Hi, I've just pushed a branch called presub to my git repo:

[Mesa-dev] GL_ARB_draw_elements_base_vertex (was Re: primitive-restart branch)

2010-07-20 Thread Brian Paul
On 07/15/2010 02:52 AM, Marek Olšák wrote: FWIW elt_bias has never worked in Draw (it misrenders and segfaults), with the attached patch. r300g works fine. I updated your patch for Mesa head and tested but it's not working with softpipe or llvmpipe. I think we've got a bug somewhere in the

Re: [Mesa-dev] [PATCH] st/mesa: implement depth texture modes

2010-07-20 Thread Brian Paul
On 07/20/2010 09:31 AM, Marek Olšák wrote: On Tue, Jul 20, 2010 at 4:08 PM, Brian Paul bri...@vmware.com mailto:bri...@vmware.com wrote: On 07/19/2010 02:53 PM, Marek Olšák wrote: @@ -150,7 +200,10 @@ update_textures(struct st_context *st) /* if sampler view has

[Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-20 Thread Henri Verbeet
This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html. --- src/mesa/drivers/dri/r600/r700_fragprog.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c b/src/mesa/drivers/dri/r600/r700_fragprog.c

Re: [Mesa-dev] [PATCH] r600: Flip point sprite coordinates when rendering to an FBO.

2010-07-20 Thread Henri Verbeet
On 20 July 2010 01:02, Dave Airlie airl...@gmail.com wrote: Its abuse because if you read that your brain would have to go wtf at least twice, I don't mind !!, since your brain can deal with that, but using binary operators where you really want logical is really bad for the reader. Open

[Mesa-dev] [Bug 29170] [regression] Far Cry (in Wine) hangs on level load

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29170 Nick Bowler nbow...@draconx.ca changed: What|Removed |Added Component|Drivers/DRI/r300|GLX

[Mesa-dev] [Bug 29170] [regression] Far Cry (in Wine) hangs on level load

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29170 --- Comment #3 from Nick Bowler nbow...@draconx.ca 2010-07-20 17:35:33 PDT --- Created an attachment (id=37255) -- (https://bugs.freedesktop.org/attachment.cgi?id=37255) Test case. A test case which reliably reproduces this issue for me. Since

[Mesa-dev] [Bug 29185] [glsl2] GL_ARB_draw_buffers unsupported in vertex shader

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29185 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Mesa-dev] [Bug 29186] [glsl2] fail to override built-in functions

2010-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29186 --- Comment #1 from Gordon Jin gordon@intel.com 2010-07-20 19:48:55 PDT --- just seeing this has been mentioned in src/glsl/TODO as well: - Handle over-riding built-in functions -- Configure bugmail: