[Mesa-dev] [PATCH] gallivm: Fix build with llvm-3.0 and llvm-2.9

2011-03-29 Thread Tobias Droste
This is a follow up to 40ae214067673edbda79371969d1730b6194d83e. As Vinson Lee noticed, those changes were made in 3.0svn not 2.9rc. So the previous patch fixed 3.0svn, but broke build with 2.9. I only checked 2.8 and the snapshot. Sorry for that. Signed-off-by: Tobias Droste --- src/gallium/aux

Re: [Mesa-dev] [RFC] Moving from macro to inline for list manipulation

2011-03-29 Thread Keith Whitwell
On Mon, 2011-03-28 at 17:54 -0400, Jerome Glisse wrote: > Hi, > > One short coming of macro has keep entertaining me until i figure out > what was wrong, here is > a simple scenario : > > Macro can lead to hard to debug list bugs. For instance consider > the following : > LIST_ADD(item, list->pre

Re: [Mesa-dev] [RFC] Moving from macro to inline for list manipulation

2011-03-29 Thread Keith Whitwell
On Mon, 2011-03-28 at 17:54 -0400, Jerome Glisse wrote: > Hi, > > One short coming of macro has keep entertaining me until i figure out > what was wrong, here is > a simple scenario : > > Macro can lead to hard to debug list bugs. For instance consider > the following : > LIST_ADD(item, list->pre

Re: [Mesa-dev] GSoC : OpenCL over Gallium3D

2011-03-29 Thread Marek Olšák
Denis, This is a great proposal. I have a few comments and suggestions, though. I think the OpenCL state tracker should not be implemented using fragment shaders, framebuffers, and generally the 3D engine as is exposed via pipe_context. It might be useful for some initial experiments, but it's ki

[Mesa-dev] [Bug 23884] Unigine Tropics demo requires float textures

2011-03-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23884 --- Comment #11 from imamdxl8...@gmail.com 2011-03-29 04:06:23 PDT --- (In reply to comment #10) > The float textures are implemented and maintained in this branch: > > http://cgit.freedesktop.org/~mareko/mesa/?h=floating2 Can I have a patch for

[Mesa-dev] [Bug 23884] Unigine Tropics demo requires float textures

2011-03-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23884 --- Comment #12 from Artem S. Tashkinov 2011-03-29 04:14:27 PDT --- (In reply to comment #11) > (In reply to comment #10) > > The float textures are implemented and maintained in this branch: > > > > http://cgit.freedesktop.org/~mareko/mesa/?h=

[Mesa-dev] [Bug 23884] Unigine Tropics demo requires float textures

2011-03-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23884 --- Comment #13 from Marek Olšák 2011-03-29 04:25:37 PDT --- (In reply to comment #11) > Is it supported on Intel GMA 4500? The only driver capable of running Unigine Tropics with the floating2 branch is r300g. -- Configure bugmail: https://bu

Re: [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d

2011-03-29 Thread Sven Arvidsson
On Mon, 2011-03-28 at 15:59 -0700, Corbin Simpson wrote: > We talked about it already, in person, at XDC a few years ago. The > basic agreement was that Theora was the only reasonable codec that > could be shipped in Fedora and Debian; other codecs would probably be > #define'd or commented out. I'

Re: [Mesa-dev] GSoC : OpenCL over Gallium3D

2011-03-29 Thread Denis Steckelmacher
> Denis, > > This is a great proposal. I have a few comments and suggestions, though. > > I think the OpenCL state tracker should not be implemented using fragment > shaders, framebuffers, and generally the 3D engine as is exposed via > pipe_context. It might be useful for some initial experiment

Re: [Mesa-dev] decoupling XCB from Mesa

2011-03-29 Thread Jerome Glisse
On Tue, Mar 29, 2011 at 2:28 AM, Srini wrote: > So, can you please suggest me which is the exact API or place to do this > change. > is there any such pointer for FAKE_FRONT_LEFT been maintained in kernel DRM > module? or some where in x server kernel module? if it is so i can get some > reference

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Eric Anholt
On Mon, 28 Mar 2011 22:59:31 -0700, Tom Stellard wrote: > This pass scans programs for instructions that read registers that have > not been written and replaces these reads with a read from a constant > register with the value of zero. This pass prevents phantom > dependencies from being introdu

[Mesa-dev] Gallium softpipe driver build instructions

2011-03-29 Thread kumar vemuri
Hi All, Am using Mesa 7.8.2. Can anyone please send out the instructions to building a gallium based softpipe driver? thanks K ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Jerome Glisse
On Tue, Mar 29, 2011 at 1:59 AM, Tom Stellard wrote: > This pass scans programs for instructions that read registers that have > not been written and replaces these reads with a read from a constant > register with the value of zero.  This pass prevents phantom > dependencies from being introduced

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Tom Stellard
On Tue, Mar 29, 2011 at 10:19:13AM -0700, Eric Anholt wrote: > On Mon, 28 Mar 2011 22:59:31 -0700, Tom Stellard wrote: > > This pass scans programs for instructions that read registers that have > > not been written and replaces these reads with a read from a constant > > register with the value o

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Eric Anholt
tOn Tue, 29 Mar 2011 11:35:33 -0700, Tom Stellard wrote: > On Tue, Mar 29, 2011 at 10:19:13AM -0700, Eric Anholt wrote: > > On Mon, 28 Mar 2011 22:59:31 -0700, Tom Stellard wrote: > > > This pass scans programs for instructions that read registers that have > > > not been written and replaces the

[Mesa-dev] [PATCH 1/2] st/dri: Don't leak bind counts on failure

2011-03-29 Thread Jakob Bornecrantz
Signed-off-by: Jakob Bornecrantz NOTE: This is a candidate for the 7.10 branch. --- .../state_trackers/dri/common/dri_context.c|6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/d

[Mesa-dev] [PATCH 2/2] st/dri: Update the old drawable context bindings in make current

2011-03-29 Thread Jakob Bornecrantz
We never removed the bindings from the drawables in the old code, that doesn't seem to cause any troubles and could just be paranioa on my part. Signed-off-by: Jakob Bornecrantz NOTE: This is a candidate for the 7.10 branch. --- .../state_trackers/dri/common/dri_context.c|6 ++

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Tom Stellard
On Tue, Mar 29, 2011 at 02:16:39PM -0700, Eric Anholt wrote: > t > On Tue, 29 Mar 2011 11:35:33 -0700, Tom Stellard wrote: > > On Tue, Mar 29, 2011 at 10:19:13AM -0700, Eric Anholt wrote: > > > On Mon, 28 Mar 2011 22:59:31 -0700, Tom Stellard > > > wrote: > > > > This pass scans programs for in

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-03-29 Thread Tom Stellard
On Tue, Mar 29, 2011 at 02:11:01PM -0400, Jerome Glisse wrote: > > Long time since i have look into mesa shader but your code seems to > completely ignore program flow and thus might face wrong positive. For > instance : > > Consider a flow graph, in this flow graph consider B0 & B1 two > differe

Re: [Mesa-dev] Gallium softpipe driver build instructions

2011-03-29 Thread kumar vemuri
Can someone please help out with the instructions. thx K On Tue, 2011-03-29 at 10:33 -0700, kumar vemuri wrote: > Hi All, > > Am using Mesa 7.8.2. Can anyone please send out the instructions > to building a gallium based softpipe driver? > > thanks > K > > > _

Re: [Mesa-dev] decoupling XCB from Mesa

2011-03-29 Thread Srini
Hi Jerome, Thanks for Reply, what you said is right for my attempt on software acceleration. I added a folder called "flip" in mesa/src/gallium/state_tracker/egl/ and created the egl software driver called "egl_flip_swrast.so" its working fine. My current attempt is to enable the hardware a