Re: [Mesa-dev] [PATCHES] implement GL_ARB_robustness

2011-04-21 Thread Brian Paul
On Thu, Apr 21, 2011 at 4:21 PM, nobled wrote: > On Thu, Apr 21, 2011 at 10:18 AM, Brian Paul wrote: >> I've applied your patches and pushed a new branch (arb_robustness).  I found >> a few little issues in your changes (s/disp/exec/, missing "offset=" line >> the .xml file, etc).  Please grab th

Re: [Mesa-dev] [PATCH] swrast: fix readpix clamping

2011-04-21 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/20/2011 03:57 AM, Marek Olšák wrote: > Broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5. (ARB_color_buffer_float) > > Clamping should occur if type != float, otherwise the MSBs of the resulting > pixels are killed off. For example, reading b

Re: [Mesa-dev] [PATCH 3/5] i965: Add support for ARB_texture_compression_rgtc.

2011-04-21 Thread Eric Anholt
On Wed, 20 Apr 2011 16:21:05 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/20/2011 11:08 AM, Eric Anholt wrote: > > Tested with rgtc-teximage-0[12]. > > EXT_texture_compression_rgtc/fbo-generatemipmap-formats fails in NPOT > > just like S3TC does. > > Sho

Re: [Mesa-dev] [PATCH 2/5] mesa: Don't assert on the compressed convertformat for GenerateMipmaps.

2011-04-21 Thread Eric Anholt
On Wed, 20 Apr 2011 16:20:20 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/20/2011 11:08 AM, Eric Anholt wrote: > > This assertion doesn't make any sense to me -- the convertFormat is > > already something valid (tested above), and the BaseFormat dictated

Re: [Mesa-dev] [PATCHES] implement GL_ARB_robustness

2011-04-21 Thread nobled
On Thu, Apr 21, 2011 at 10:18 AM, Brian Paul wrote: > I've applied your patches and pushed a new branch (arb_robustness).  I found > a few little issues in your changes (s/disp/exec/, missing "offset=" line > the .xml file, etc).  Please grab the branch and test it a bit (anyone). Oops, thanks for

Re: [Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM

2011-04-21 Thread Matt Turner
On Thu, Apr 21, 2011 at 11:39 AM, Marek Olšák wrote: > --- >  configure.ac |    5 + >  1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 8e9f73f..84a75c4 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1778,6 +1778,11 @@ AC_ARG_ENABLE(

Re: [Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM

2011-04-21 Thread Jose Fonseca
Sounds good, but distros shipping LLVM 2.6 or 2.8 should really apply the LLVM fixes I have collected in http://cgit.freedesktop.org/~jrfonseca/llvm/ to avoid running into problems. One mergely using SWTNL might not get hit as hard by these bugs, but if one uses full rasterization on llvmpipe t

Re: [Mesa-dev] [PATCH 1/3] util: add a simple memcpy path for copying buffers in util_resource_copy_region

2011-04-21 Thread Ferry Huberts
On 04/21/2011 01:11 PM, Marek Olšák wrote: > --- > src/gallium/auxiliary/util/u_surface.c | 22 +- > 1 files changed, 13 insertions(+), 9 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_surface.c > b/src/gallium/auxiliary/util/u_surface.c > index 9caf76c..43a02

Re: [Mesa-dev] [PATCH 1/3] util: add a simple memcpy path for copying buffers in util_resource_copy_region

2011-04-21 Thread Marek Olšák
Do we actually allow overlapping copies in Gallium? I thought we don't. Marek On Thu, Apr 21, 2011 at 6:00 PM, Ferry Huberts wrote: > > > On 04/21/2011 01:11 PM, Marek Olšák wrote: > > --- > > src/gallium/auxiliary/util/u_surface.c | 22 +- > > 1 files changed, 13 inserti

Re: [Mesa-dev] [PATCH 1/2] configure.ac: enable LLVM by default

2011-04-21 Thread Alex Deucher
On Thu, Apr 21, 2011 at 7:39 AM, Marek Olšák wrote: > OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it? > Poor users with SWTCL chipsets... and bad reputation for us too. Both patches look good to me. Reviewed-by: Alex Deucher > --- >  configure.ac |    4 ++-- >  1 file

Re: [Mesa-dev] [PATCHES] implement GL_ARB_robustness

2011-04-21 Thread Jose Fonseca
- Original Message - > On Wed, Apr 20, 2011 at 1:57 PM, nobled > wrote: > > On Wed, Apr 20, 2011 at 11:19 AM, Brian Paul > > wrote: > >> On Tue, Apr 19, 2011 at 8:31 PM, nobled > >> wrote: > >> I'd also like to see a new piglit test for this extension.  In > >> fact, I > >> think we sh

Re: [Mesa-dev] [PATCHES] implement GL_ARB_robustness

2011-04-21 Thread Brian Paul
I've applied your patches and pushed a new branch (arb_robustness). I found a few little issues in your changes (s/disp/exec/, missing "offset=" line the .xml file, etc). Please grab the branch and test it a bit (anyone). Will you be able to write a new piglit test for this? -Brian

[Mesa-dev] [Bug 36238] Mesa release files don't contain scons control files

2011-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36238 --- Comment #3 from Brian Paul 2011-04-21 07:12:48 PDT --- OK, I've put a couple of .zip files for you to test at ftp://ftp.freedesktop.org/pub/mesa/tmp/ -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You ar

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Jakob Bornecrantz
On Thu, Apr 21, 2011 at 3:18 PM, Marek Olšák wrote: > OK, here's the patch: > >     galahad,util: warn on resource target mismatch in copy_region Cool thanks! Reviewed-by: Jakob Bornecrantz Cheers Jakob. > > diff --git a/src/gallium/auxiliary/util/u_surface.c > b/src/gallium/auxiliary/util/u_s

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Marek Olšák
OK, here's the patch: galahad,util: warn on resource target mismatch in copy_region diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surfac index 43a0266..4c5cc4d 100644 --- a/src/gallium/auxiliary/util/u_surface.c +++ b/src/gallium/auxiliary/util/u_surface.c

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Jakob Bornecrantz
On Thu, Apr 21, 2011 at 2:47 PM, Marek Olšák wrote: > On Thu, Apr 21, 2011 at 1:19 PM, Jakob Bornecrantz > wrote: >> >> On Thu, Apr 21, 2011 at 1:11 PM, Marek Olšák wrote: >> > Hi, >> > >> > This little series implements CopyBufferSubData via resource_copy_region >> > and adds a fallback impleme

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Marek Olšák
On Thu, Apr 21, 2011 at 1:19 PM, Jakob Bornecrantz wrote: > On Thu, Apr 21, 2011 at 1:11 PM, Marek Olšák wrote: > > Hi, > > > > This little series implements CopyBufferSubData via resource_copy_region > and adds a fallback implementation to all drivers. Now drivers can implement > a fast path for

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > Hi, > > This little series implements CopyBufferSubData via > resource_copy_region and adds a fallback implementation to all > drivers. Now drivers can implement a fast path for CopyBufferSubData > instead of always defaulting to the software

[Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM

2011-04-21 Thread Marek Olšák
--- configure.ac |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 8e9f73f..84a75c4 100644 --- a/configure.ac +++ b/configure.ac @@ -1778,6 +1778,11 @@ AC_ARG_ENABLE([gallium-r300], [build gallium r300 @<:@default=disabled@:>@])

[Mesa-dev] [PATCH 1/2] configure.ac: enable LLVM by default

2011-04-21 Thread Marek Olšák
OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it? Poor users with SWTCL chipsets... and bad reputation for us too. --- configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8989c2b..8e9f73f 100644 --- a/co

Re: [Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Jakob Bornecrantz
On Thu, Apr 21, 2011 at 1:11 PM, Marek Olšák wrote: > Hi, > > This little series implements CopyBufferSubData via resource_copy_region and > adds a fallback implementation to all drivers. Now drivers can implement a > fast path for CopyBufferSubData instead of always defaulting to the software

[Mesa-dev] [PATCH 3/3] st/mesa: implement CopyBufferSubData using resource_copy_region

2011-04-21 Thread Marek Olšák
--- src/mesa/state_tracker/st_cb_bufferobjects.c | 23 --- 1 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index b9b606d..1e489b2 100644 --- a/src/mesa/state_tracker/s

[Mesa-dev] [PATCH 2/3] gallium: add fallback for copying buffers to all drivers

2011-04-21 Thread Marek Olšák
Just to keep drivers working. --- src/gallium/drivers/i915/i915_surface.c | 15 +++ src/gallium/drivers/llvmpipe/lp_surface.c |7 +++ src/gallium/drivers/nv50/nv50_surface.c |8 src/gallium/drivers/nvc0/nvc0_surface.c |8 src/gallium/drivers/nv

[Mesa-dev] [PATCH 1/3] util: add a simple memcpy path for copying buffers in util_resource_copy_region

2011-04-21 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_surface.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c index 9caf76c..43a0266 100644 --- a/src/gallium/auxiliary/util/u_surface.c +++

[Mesa-dev] [PATCH 0/3] Gallium: CopyBufferSubData basic accel

2011-04-21 Thread Marek Olšák
Hi, This little series implements CopyBufferSubData via resource_copy_region and adds a fallback implementation to all drivers. Now drivers can implement a fast path for CopyBufferSubData instead of always defaulting to the software path. I have tested this series with glean/bufferObject on r60

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

2011-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #24 from Fabio 2011-04-21 01:03:22 PDT --- I have a similar problem that happens on r300g/r300/swrastg/swrast when using shared-glapi. It still affects only glxgears but rather than crashing it shows psychedelic colors. https://bugs.

[Mesa-dev] eglGetModesMESA failed

2011-04-21 Thread Cong Pang
Anyone who can help me? I have got stuck for three days.But I just could not solve the problem"eglGetModesMESA failed" when I run ./eglgears -- Thanks Pang Cong ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailma

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

2011-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #23 from Marek Olšák 2011-04-21 00:26:31 PDT --- No idea, but hard-resetting is useless for you as it only resets the source files. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

2011-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #22 from Alexandre Demers 2011-04-21 00:19:54 PDT --- (In reply to comment #21) > You may also try 'git clean -fdx' instead of 'make clean'. It deletes the all > files and directories not added in git, as if you made a clean clone. >

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

2011-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #21 from Marek Olšák 2011-04-21 00:04:46 PDT --- You may also try 'git clean -fdx' instead of 'make clean'. It deletes the all files and directories not added in git, as if you made a clean clone. Nevertheless, the crash in loopback_*