[Mesa-dev] first attempt at shader stencil export

2010-09-29 Thread Dave Airlie
some background: so on r600g, the only way to directly write to the stencil is via the shader, using a transfer would require an extra step to flush the DS buffer out via the pipe again to make it useable by the hw as a DS buffer. So using the current gallium stencil draw would be a major overhead

Re: [Mesa-dev] depth writing and missing something

2010-09-29 Thread Jose Fonseca
Sorry, I've should have drunk my morning coffee before replying. You're refferring to writing and not reading... Anyway, my comment for u_format still stands. But back to your example, it works because out[0] has position semantic. When writing to depth textures, their are bound as depth stenci

Re: [Mesa-dev] depth writing and missing something

2010-09-29 Thread Jose Fonseca
There are two things to consider: u_format.csv description for depth stencils is a bit special for practical reasons, and pipe_sampler_view swizzles. Several functions in u_format_xxx.c need to be able to read/write stencil, and this is why u_format.csv describes depth stencil's swizzles as prod

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

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Gordon Jin changed: What|Removed |Added Depends on||30192 -- Configure bugmail: https://bugs.f

[Mesa-dev] [Bug 30192] Doom3-demo segfaults since glsl2 branch merged.

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30192 Gordon Jin changed: What|Removed |Added Blocks||29044 -- Configure bugmail: https://bugs.f

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

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Gordon Jin changed: What|Removed |Added Depends on||30238 -- Configure bugmail: https://bugs.f

[Mesa-dev] [Bug 30484] New: Mesa 7.9.2-rc2 and git fail to compile

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30484 Summary: Mesa 7.9.2-rc2 and git fail to compile Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Co

[Mesa-dev] State of gallium driver for i915/945

2010-09-29 Thread Alexandre Demers
Hi,I've been following the development of mesa and gallium for some time now. Each time a developer talks about the gallium i915/945 driver, it's always in an "almost done" state... However, even now, it doesn't support everything the dri driver does (glxinfo shows less extensions and so on fo

[Mesa-dev] depth writing and missing something

2010-09-29 Thread Dave Airlie
So I've been playing with stencil writing on r600, and it lead me to examine the depth writing. So at the moment in gallium if we are writing to depth via DrawPixels, we construct a fragment program that samples from a texture. TEX OUT[0].z, IN[1], SAMP[0], 2D Now from what I can see the format

[Mesa-dev] [Bug 30481] New: OpenVG demos does not launch

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30481 Summary: OpenVG demos does not launch Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium

Re: [Mesa-dev] [PATCH] Implement x86_64 atomics for compilers w/o intrinsics.

2010-09-29 Thread tom fogal
ping? -tom tom fogal writes: > A friend of mine had trouble building 7.8.2 on an old gcc3.3 system > (no gcc intrinsics). I put together this patch and he said his build > worked. Our software doesn't thread so it's not really verified > otherwise. > > I was a bit surprised we didn't need int6

Re: [Mesa-dev] [PATCH] Makefile: ensure Gallium's Makefile.xorg and SConscript.dri are in the tarball

2010-09-29 Thread Brian Paul
On 09/29/2010 05:02 AM, Marek Olšák wrote: --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index eb90650..42f1c0a 100644 --- a/Makefile +++ b/Makefile @@ -329,6 +329,8 @@ GALLIUM_FILES = \ $(DIRECTORY)/src/gallium/Makefile.temp

Re: [Mesa-dev] [PATCH] llvmpipe: add initial support to double opcodes in llvmpipe.

2010-09-29 Thread Igor Oliveira
Yep, See bellow. Basically the output is not smooth because the OUT[0].x is the msb from double enad the OUT[0].y is the lsb. Igor diff --git a/src/gallium/tests/python/samples/tri.py b/src/gallium/tests/python/samples/tri.py index 6d17c88..5b74c16 100644 --- a/src/gallium/tests/python/samples/t

Re: [Mesa-dev] [PATCH] llvmpipe: add initial support to double opcodes in llvmpipe.

2010-09-29 Thread José Fonseca
Could you please send me the modified tri.py as well. Thanks Jose On Wed, 2010-09-29 at 07:41 -0700, Igor Oliveira wrote: > Hi Jose, > > I updated the patch(see below), I am using python samples, modifying > the tri.py to use it because the regress tests are outdated. > Now we have we can get th

Re: [Mesa-dev] [PATCH] llvmpipe: add initial support to double opcodes in llvmpipe.

2010-09-29 Thread Igor Oliveira
Hi Jose, I updated the patch(see below), I am using python samples, modifying the tri.py to use it because the regress tests are outdated. Now we have we can get the msb and the lsb values from double operations. diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary

Re: [Mesa-dev] r600g old design -> new design

2010-09-29 Thread Jerome Glisse
2010/9/29 Michel Dänzer : > On Mit, 2010-09-29 at 11:49 +0100, Keith Whitwell wrote: >> On Wed, 2010-09-29 at 03:35 -0700, Michel Dänzer wrote: >> > On Die, 2010-09-28 at 11:40 -0400, Jerome Glisse wrote: >> > > >> > > - use score for placing bo, bo placement will be recorded in bo >> > > structur

[Mesa-dev] [Bug 30457] [7.9] DRI drawables prematurely destroyed on context switch

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30457 Kristian Høgsberg changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 30457] [7.9] DRI drawables prematurely destroyed on context switch

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30457 Robert Hooker (Sarvatt) changed: What|Removed |Added CC||sarv...@gmail.com -- Configur

[Mesa-dev] [Bug 30457] New: [7.9] DRI drawables prematurely destroyed on context switch

2010-09-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30457 Summary: [7.9] DRI drawables prematurely destroyed on context switch Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: norm

Re: [Mesa-dev] Mesa 7.9-rc2

2010-09-29 Thread Sebastian H.
> > Am 29.09.2010 04:47, schrieb Ian Romanick: > > Mesa 7.9-rc2 has been released. Assuming there are no issues, > Mesa 7.9 > > final will be released next Monday (October 4th). > > > > I've tried it again with > > export LC_ALL=C >

Re: [Mesa-dev] r600g old design -> new design

2010-09-29 Thread Michel Dänzer
On Mit, 2010-09-29 at 11:49 +0100, Keith Whitwell wrote: > On Wed, 2010-09-29 at 03:35 -0700, Michel Dänzer wrote: > > On Die, 2010-09-28 at 11:40 -0400, Jerome Glisse wrote: > > > > > > - use score for placing bo, bo placement will be recorded in bo structure > > > and > > > each time a state

[Mesa-dev] [PATCH] Makefile: ensure Gallium's Makefile.xorg and SConscript.dri are in the tarball

2010-09-29 Thread Marek Olšák
--- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index eb90650..42f1c0a 100644 --- a/Makefile +++ b/Makefile @@ -329,6 +329,8 @@ GALLIUM_FILES = \ $(DIRECTORY)/src/gallium/Makefile.template \ $(DIRECTORY

Re: [Mesa-dev] Mesa 7.9-rc2

2010-09-29 Thread Sebastian H.
Am 29.09.2010 12:22, schrieb Marek Olšák: > export LC_ALL=C > export PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig/ > ./configure \ >--enable-gallium-radeon \ >--enable-gallium-swrast \ >--prefix=/opt/mesa > make > > make[3]: Entering directory >

Re: [Mesa-dev] Mesa 7.9-rc2

2010-09-29 Thread Marek Olšák
On Wed, Sep 29, 2010 at 12:22 PM, Marek Olšák wrote: > On Wed, Sep 29, 2010 at 11:43 AM, Sebastian H. wrote: > >> Am 29.09.2010 04:47, schrieb Ian Romanick: >> > Mesa 7.9-rc2 has been released. Assuming there are no issues, Mesa 7.9 >> > final will be released next Monday (October 4th). >> > >>

Re: [Mesa-dev] r600g old design -> new design

2010-09-29 Thread Keith Whitwell
On Wed, 2010-09-29 at 03:35 -0700, Michel Dänzer wrote: > On Die, 2010-09-28 at 11:40 -0400, Jerome Glisse wrote: > > > > - use score for placing bo, bo placement will be recorded in bo structure > > and > > each time a state is bind bo score will be updated (bo bound as framebuffer > > will get

Re: [Mesa-dev] r600g old design -> new design

2010-09-29 Thread Michel Dänzer
On Die, 2010-09-28 at 11:40 -0400, Jerome Glisse wrote: > > - use score for placing bo, bo placement will be recorded in bo structure and > each time a state is bind bo score will be updated (bo bound as framebuffer > will get their score for placing into vram increase while bo bound as small > v

Re: [Mesa-dev] Mesa 7.9-rc2

2010-09-29 Thread Marek Olšák
On Wed, Sep 29, 2010 at 11:43 AM, Sebastian H. wrote: > Am 29.09.2010 04:47, schrieb Ian Romanick: > > Mesa 7.9-rc2 has been released. Assuming there are no issues, Mesa 7.9 > > final will be released next Monday (October 4th). > > > > I've tried it again with > > export LC_ALL=C > export PKG_CO

Re: [Mesa-dev] Mesa 7.9-rc2

2010-09-29 Thread Sebastian H.
Am 29.09.2010 04:47, schrieb Ian Romanick: > Mesa 7.9-rc2 has been released. Assuming there are no issues, Mesa 7.9 > final will be released next Monday (October 4th). > I've tried it again with export LC_ALL=C export PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig/ ./configure \ --enable-galli