Re: [Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-17 Thread Barto
it's ok, we are talking about the same page ( news.html ) who is the default page when we go to http://www.mesa3d.org/ Le 18/09/2012 00:22, Brian Paul a écrit : > On 09/17/2012 03:54 PM, Barto wrote: >> don't forget the main site for mesa3d, this page is also outdated : >> >> http://www.mesa3d.or

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-17 Thread Roland Scheidegger
Am 18.09.2012 01:34, schrieb Matt Turner: > On Mon, Sep 17, 2012 at 1:20 PM, Jose Fonseca wrote: >> >> >> - Original Message - >>> signbit() appears to be available everywhere (even MSVC according to >>> MSDN), so let's use it instead of open-coding some messy and >>> confusing >>> bit twi

Re: [Mesa-dev] [PATCH] i965: Fix if-statements with boolean comparisons on Sandybridge.

2012-09-17 Thread Paul Berry
On 15 September 2012 21:25, Kenneth Graunke wrote: > In the past, we stored booleans as integer 0 or 1. At some point, we > changed to storing them as 0 or some non-zero value. Nit-pick: I'm assuming this means "0 is treated as false, and all nonzero values are treated as true". But that can'

Re: [Mesa-dev] [PATCH] r600g: Close a memory leak of llvm byte streams

2012-09-17 Thread Tom Stellard
Pushed. Thanks! On Mon, Sep 17, 2012 at 04:35:06PM +0800, Xinya Zhang wrote: > Hi all. > > This fixes a memory leak of byte streams allocated in r600_llvm_compile. > > No regressions found in the tests of opencl-example/run_tests.sh. > > signed-off-by: Xinya Zhang > --- > src/gallium/drivers/

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-17 Thread Matt Turner
On Mon, Sep 17, 2012 at 1:20 PM, Jose Fonseca wrote: > > > - Original Message - >> signbit() appears to be available everywhere (even MSVC according to >> MSDN), so let's use it instead of open-coding some messy and >> confusing >> bit twiddling macros. >> >> Bugzilla: https://bugs.freedes

Re: [Mesa-dev] [PATCH 5/5] r600g: Invalidate texture cache when creating vertex buffers for compute

2012-09-17 Thread Tom Stellard
On Mon, Sep 17, 2012 at 11:35:29PM +0200, Marek Olšák wrote: > On Mon, Sep 17, 2012 at 11:09 PM, Tom Stellard wrote: > > From: Tom Stellard > > > > Compute shaders fetch data from vertex buffers via the texture cache, so > > we need to make sure the texture cache is flushed. > > --- > > src/gall

Re: [Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-17 Thread Brian Paul
On 09/17/2012 03:54 PM, Barto wrote: don't forget the main site for mesa3d, this page is also outdated : http://www.mesa3d.org/ I see that the news.html and relnotes.html files weren't updated with the 8.0.4 release. I just updated the files there but it may take a while to propogate. Is

Re: [Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-17 Thread Brian Paul
On 09/17/2012 12:31 PM, Andreas Boll wrote: Hi list, this page is really irritating. As you can see on this page, there were 213 downloads of really outdated mesa versions this week. I think we should place a big fat note saying: New mesa releases are only available at ftp://ftp.freedesktop.

[Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-17 Thread Barto
don't forget the main site for mesa3d, this page is also outdated : http://www.mesa3d.org/ Le 17/09/2012 11:31, Andreas a écrit : >Hi list, > this page is really irritating. > As you can see on this page, there were 213 downloads of really > outdated mesa versions this week. > I think we shoul

Re: [Mesa-dev] [PATCH 5/5] r600g: Invalidate texture cache when creating vertex buffers for compute

2012-09-17 Thread Matt Turner
On Mon, Sep 17, 2012 at 2:09 PM, Tom Stellard wrote: > - rctx->flags |= rctx->has_vertex_cache ? R600_CONTEXT_VTX_FLUSH : > R600_CONTEXT_TEX_FLUSH; > + /* The vertex instructions in the compute shaders use the texture > cache, > +* so we need to invalid it. */ invalidate ___

Re: [Mesa-dev] [PATCH 5/5] r600g: Invalidate texture cache when creating vertex buffers for compute

2012-09-17 Thread Marek Olšák
On Mon, Sep 17, 2012 at 11:09 PM, Tom Stellard wrote: > From: Tom Stellard > > Compute shaders fetch data from vertex buffers via the texture cache, so > we need to make sure the texture cache is flushed. > --- > src/gallium/drivers/r600/evergreen_compute.c | 5 - > 1 file changed, 4 inserti

[Mesa-dev] [ANNOUNCE] glu 9.0.0

2012-09-17 Thread Matt Turner
GLU has been split from Mesa and is now available as a separate project in its own repository, available here: git://anongit.freedesktop.org/mesa/glu Since it was split from Mesa, the following changes have been made: Kenneth Graunke (1): Add an autotools build system for libGLU.

[Mesa-dev] [PATCH 5/5] r600g: Invalidate texture cache when creating vertex buffers for compute

2012-09-17 Thread Tom Stellard
From: Tom Stellard Compute shaders fetch data from vertex buffers via the texture cache, so we need to make sure the texture cache is flushed. --- src/gallium/drivers/r600/evergreen_compute.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergre

[Mesa-dev] [PATCH 4/5] r600g: Use LOOP_START_DX10 for loops

2012-09-17 Thread Tom Stellard
From: Tom Stellard LOOP_START_DX10 ignores the LOOP_CONFIG* registers, so it is not limited to 4096 iterations like the other LOOP_* instructions. Compute shaders need to use this instruction, and since we aren't optimizing loops with the LOOP_CONFIG* registers for pixel and vertex shaders, it s

[Mesa-dev] [PATCH 3/5] r600g: Set the correct value of COLOR*_DIM for RATs

2012-09-17 Thread Tom Stellard
From: Tom Stellard For buffers (which is what is being used for RATs), the COLOR*_DIM.WIDTH_MASK field needs to be set to the low 16-bits of the buffer size, and the COLOR*_DIM.HEIEGHT_MAX needs to be set to the high bits. --- src/gallium/drivers/r600/evergreen_state.c | 4 ++-- 1 file changed,

[Mesa-dev] [PATCH 2/5] r600g: Make sure to initialize DB_DEPTH_CONTROL register for compute

2012-09-17 Thread Tom Stellard
From: Tom Stellard The kernel CS checker will fail if this register is not initialized. --- src/gallium/drivers/r600/evergreen_state.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c i

[Mesa-dev] [PATCH 1/5] r600g: Add some comments and debug printfs to compute code

2012-09-17 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/r600/compute_memory_pool.c | 41 -- src/gallium/drivers/r600/evergreen_compute.c | 15 -- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/dri

[Mesa-dev] [PATCH 3/3] pipe-loader: Remove a few debug_printfs

2012-09-17 Thread Tom Stellard
From: Tom Stellard On debug builds these were always being printed. --- Are these printfs useful to anyone? Should they be controlled with an ENV variable instead? src/gallium/auxiliary/pipe-loader/pipe_loader.c | 1 - src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 3 --- 2 files c

[Mesa-dev] [PATCH 2/3] clover: Initialize height and depth to 1 for transfers

2012-09-17 Thread Tom Stellard
From: Tom Stellard --- src/gallium/state_trackers/clover/api/transfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/api/transfer.cpp b/src/gallium/state_trackers/clover/api/transfer.cpp index c67b75e..8ea8f86 100644 --- a/src/gallium/s

[Mesa-dev] [PATCH 1/3] clover: Default to required minimum for CL_DEVICE_MAX_MEM_ALLOC_SIZE

2012-09-17 Thread Tom Stellard
From: Tom Stellard --- src/gallium/state_trackers/clover/api/device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/state_trackers/clover/api/device.cpp index 1a9127b..636bdc0 100644 --- a/src/gallium/state

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-17 Thread Jose Fonseca
- Original Message - > > > - Original Message - > > signbit() appears to be available everywhere (even MSVC according > > to > > MSDN), so let's use it instead of open-coding some messy and > > confusing > > bit twiddling macros. > > > > Bugzilla: https://bugs.freedesktop.org/s

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-17 Thread Jose Fonseca
- Original Message - > signbit() appears to be available everywhere (even MSVC according to > MSDN), so let's use it instead of open-coding some messy and > confusing > bit twiddling macros. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54805 > Cc: Alan Coopersmith > Sugges

Re: [Mesa-dev] [PATCH] meta: Use float for temporary images, not (un)signed normalized.

2012-09-17 Thread Jordan Justen
Does this cause any regressions for the packed-px-uint test? -Jordan On Sat, Sep 15, 2012 at 11:18 PM, Kenneth Graunke wrote: > In commit 091eb15b694, Jordan changed get_temp_image_type() to use > _mesa_get_format_datatype() instead of returning GL_FLOAT. That has > several possible return valu

[Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-17 Thread Andreas Boll
Hi list, this page is really irritating. As you can see on this page, there were 213 downloads of really outdated mesa versions this week. I think we should place a big fat note saying: New mesa releases are only available at ftp://ftp.freedesktop.org/pub/mesa/ there. Shouldn't we? The suppor

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-17 Thread Paul Berry
On 14 September 2012 16:20, Matt Turner wrote: > signbit() appears to be available everywhere (even MSVC according to > MSDN), so let's use it instead of open-coding some messy and confusing > bit twiddling macros. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54805 > Cc: Alan Cooper

Re: [Mesa-dev] Proposal for an Updated Linux OpenGL ABI

2012-09-17 Thread Adam Jackson
On Fri, 2012-09-14 at 16:46 -0700, Andy Ritger wrote: > On Thu, Sep 13, 2012 at 03:19:44PM -0700, Brian Paul wrote: > > BTW, this wouldn't part of the ABI proper, but if we're making > > suggestions for Linux distros, maybe we can suggest that they ship > > helpful utilities like glxinfo and egli

Re: [Mesa-dev] [PATCH 2/2] i965/blorp: Add support for blits between SRGB and linear formats.

2012-09-17 Thread Paul Berry
On 17 September 2012 10:25, Ian Romanick wrote: > On 09/14/2012 02:56 AM, Paul Berry wrote: > >> On 11 September 2012 16:24, Kenneth Graunke > **> wrote: >> >> Fixes colorspace issues in L4D2 when multisampling is enabled (the >> scene was far too dark, but t

Re: [Mesa-dev] [PATCH 2/2] i965/blorp: Add support for blits between SRGB and linear formats.

2012-09-17 Thread Ian Romanick
On 09/14/2012 02:56 AM, Paul Berry wrote: On 11 September 2012 16:24, Kenneth Graunke mailto:kenn...@whitecape.org>> wrote: Fixes colorspace issues in L4D2 when multisampling is enabled (the scene was far too dark, but the flashlight area was way too bright). NOTE: This is a candida

[Mesa-dev] [Bug 55021] Regression: eglInitialize crashes with 9.0

2012-09-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55021 --- Comment #2 from Ian Romanick 2012-09-17 17:09:57 UTC --- Is there any chance you could bisect to figure out when it broke? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail becau

Re: [Mesa-dev] [git pull] 8.0 fixes

2012-09-17 Thread Ian Romanick
On 09/17/2012 06:11 PM, Andreas Boll wrote: 2012/9/10 Andreas Boll : Hi Ian, I've rebased on your 8.0-staging branch. You should probably squash the commit 6cabf2532 radeon: fix Base/base typo into commit 35af2b6fe radeon: set swrast_renderbuffer::ColorType field when mapping renderbuf

Re: [Mesa-dev] [PATCH 2/2] i965/blorp: Add support for blits between SRGB and linear formats.

2012-09-17 Thread Jordan Justen
I have nothing to add regarding Paul's concern, but these 2 patches are Tested-by: Jordan Justen for gen6/gen7. -Jordan On Thu, Sep 13, 2012 at 5:56 PM, Paul Berry wrote: > On 11 September 2012 16:24, Kenneth Graunke wrote: >> >> Fixes colorspace issues in L4D2 when multisampling is enabled

Re: [Mesa-dev] [git pull] 8.0 fixes

2012-09-17 Thread Andreas Boll
2012/9/10 Andreas Boll : > Hi Ian, > > I've rebased on your 8.0-staging branch. > You should probably squash the commit > > 6cabf2532 radeon: fix Base/base typo > > into commit > > 35af2b6fe radeon: set swrast_renderbuffer::ColorType field when > mapping renderbuffers > > to make bisecting easi

Re: [Mesa-dev] [PATCH] docs: remove obsolete mesa subset documentation

2012-09-17 Thread Brian Paul
On 09/17/2012 10:06 AM, Brian Paul wrote: On 09/17/2012 09:37 AM, Andreas Boll wrote: --- docs/contents.html | 1 - docs/subset-A.html | 3572 docs/subset.html | 25 - 3 files changed, 0 insertions(+), 3598 deletions(-) delete mode 100644 docs/su

Re: [Mesa-dev] [PATCH] docs: remove obsolete mesa subset documentation

2012-09-17 Thread Brian Paul
On 09/17/2012 09:37 AM, Andreas Boll wrote: --- docs/contents.html |1 - docs/subset-A.html | 3572 docs/subset.html | 25 - 3 files changed, 0 insertions(+), 3598 deletions(-) delete mode 100644 docs/subset-A.html delete mode

[Mesa-dev] [PATCH] docs: remove obsolete mesa subset documentation

2012-09-17 Thread Andreas Boll
--- docs/contents.html |1 - docs/subset-A.html | 3572 docs/subset.html | 25 - 3 files changed, 0 insertions(+), 3598 deletions(-) delete mode 100644 docs/subset-A.html delete mode 100644 docs/subset.html Only included in this diff

[Mesa-dev] Mesa3D into a vxWorks 653 Project

2012-09-17 Thread Srinivasulu Reddy Malapati -ERS, HCL Tech
Hi! As a beginner, I want to add Mesa3D into a vxWorks 653 Project and run the demo. My hardware and software lists as bellow: HW: CPU: Powerpc(Freescale Mpc8641D) GPU: ATI Radeon E4690 SW: vxWorks 653 Mesa3D (any Version) How can I use all above to run a Mesa demo, Please help me!!!

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-17 Thread Brian Paul
On 09/17/2012 09:09 AM, Andreas Boll wrote: 2012/9/4 Brian Paul: Most of the patch is 'FEATURE_x' changes. I've been tempted to rip out all that stuff. The original idea was to make it easy for people to build smaller Mesa subsets (and the ES subset) by running the code through the preproces

Re: [Mesa-dev] automake-gallium testing

2012-09-17 Thread Andreas Boll
2012/9/16 Matt Turner : > On Sun, Sep 16, 2012 at 12:03 PM, Andreas Boll > wrote: >> 2012/9/15 Matt Turner : >>> On Fri, Sep 14, 2012 at 8:21 AM, Matt Turner wrote: On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll wrote: > Hi Matt, > > thank you very much for working on mesa's

[Mesa-dev] [Bug 55021] Regression: eglInitialize crashes with 9.0

2012-09-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55021 --- Comment #1 from LCID Fire 2012-09-17 15:21:59 UTC --- Display is EGL_DEFAULT_DISPLAY btw. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee f

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-17 Thread Andreas Boll
2012/9/4 Brian Paul : > On 09/04/2012 05:53 AM, Oliver McFadden wrote: >> >> From: Oliver McFadden >> >> >> http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_texture_compression_dxt.txt >> >> Signed-off-by: Oliver McFadden >> --- >> src/glx/glxextensions.h |1 +

[Mesa-dev] [Bug 55021] New: Regression: eglInitialize crashes with 9.0

2012-09-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55021 Bug #: 55021 Summary: Regression: eglInitialize crashes with 9.0 Classification: Unclassified Product: Mesa Version: 9.0 Platform: x86-64 (AMD64) OS/Version: Linux (All)

Re: [Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-17 Thread Jose Fonseca
- Original Message - > On 09/17/2012 08:12 AM, Brian Paul wrote: > > On 09/17/2012 04:16 AM, Jose Fonseca wrote: > >> > >> > >> - Original Message - > >>> From: Brian Paul > >>> > >>> To implement proxy textures. If a gallium driver doesn't > >>> implement > >>> this function we'll

Re: [Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-17 Thread Brian Paul
On 09/17/2012 08:12 AM, Brian Paul wrote: On 09/17/2012 04:16 AM, Jose Fonseca wrote: - Original Message - From: Brian Paul To implement proxy textures. If a gallium driver doesn't implement this function we'll just continue to use the core Mesa fallback code. Without this hook we r

Re: [Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-17 Thread Brian Paul
On 09/17/2012 04:16 AM, Jose Fonseca wrote: - Original Message - From: Brian Paul To implement proxy textures. If a gallium driver doesn't implement this function we'll just continue to use the core Mesa fallback code. Without this hook we really have no good way to implement OpenGL

[Mesa-dev] [XDC 2012] Conference Update #5

2012-09-17 Thread Egbert Eich
Just a very brief update: Conference Warm-Up == All of those who are in Nuernberg Tuesday evening already: we've reserved some tables at "Barfüßer, Das kleine Brauhaus" Hallplatz 2, 90402 Nürnberg (For map please check: http://goo.gl/maps/QXBZB) for 19:00 (ie 7:

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-17 Thread Oliver McFadden
On Sun, Sep 16, 2012 at 01:32:00PM +0300, Ian Romanick wrote: > On 09/15/2012 06:04 PM, Török Edwin wrote: > > On 09/13/2012 11:19 AM, Oliver McFadden wrote: > >> Signed-off-by: Oliver McFadden > >> > >> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c > >> index abce52e..63bb3da 100

Re: [Mesa-dev] [PATCH 47/47] mesa: remove never-defined FEATURE_histogram conditional.

2012-09-17 Thread Oliver McFadden
On Sun, Sep 16, 2012 at 01:31:52PM +0300, Ian Romanick wrote: > On 09/13/2012 11:19 AM, Oliver McFadden wrote: > > Signed-off-by: Oliver McFadden > > --- > > src/mesa/main/histogram.c |4 > > src/mesa/main/histogram.h | 11 --- > > 2 files changed, 0 insertions(+), 15 deleti

Re: [Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-17 Thread Jose Fonseca
- Original Message - > From: Brian Paul > > To implement proxy textures. If a gallium driver doesn't implement > this function we'll just continue to use the core Mesa fallback code. > > Without this hook we really have no good way to implement OpenGL > proxy > textures with gallium d

Re: [Mesa-dev] [PATCH 18/23] radeonsi: implement blit

2012-09-17 Thread Michel Dänzer
This patch Reviewed-by: Michel Dänzer Series Tested-by: Michel Dänzer Patch 03 should probably add PIPE_CAP_TEXTURE_MULTISAMPLE to radeonsi as well. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI

Re: [Mesa-dev] [PATCH] llvmpipe: set max cube texture size to 4K x 4K

2012-09-17 Thread Jose Fonseca
Reviewed-by: Jose Fonseca - Original Message - > From: Brian Paul > > Before, the limit was 8K. For 32-bit RGBA that would be require 1.5 > GB > of memory (w/out mipmaps). That's well beyond the > LP_MAX_TEXTURE_SIZE > of 1GB. > --- > src/gallium/drivers/llvmpipe/lp_limits.h |1 +

Re: [Mesa-dev] [PATCH 5/5] mesa: move/fix levels check for glTexStorage()

2012-09-17 Thread Jose Fonseca
I'm not intimately familiar with this code, but the series looks sensible FWIW. Jose - Original Message - > From: Brian Paul > > Fix copy&paste error and move min levels check closer to max levels > check. > --- > src/mesa/main/texstorage.c | 16 > 1 files changed, 8

Re: [Mesa-dev] [git pull] 9.0 fixes

2012-09-17 Thread Michel Dänzer
On Fre, 2012-09-14 at 09:41 +0300, Ian Romanick wrote: > On 09/13/2012 09:48 AM, Michel Dänzer wrote: > > On Mit, 2012-09-12 at 22:45 +0200, Andreas Boll wrote: > >> > >> I think we should probably cherry-pick almost all of the radeonsi > >> fixes from master, because it's a pretty new experimental

[Mesa-dev] [XDC 2012] Conference Update #4

2012-09-17 Thread Egbert Eich
Hi Folks! This is just a quick update regarding some last minute stuff that came to our minds: Attendees List == If you haven't added yourself to the attendees list, please take a second to add yourself to http://wiki.x.org/wiki/Events/XDC2012/Attendees. If you want you can indi

[Mesa-dev] [PATCH] r600g: Close a memory leak of llvm byte streams

2012-09-17 Thread Xinya Zhang
Hi all. This fixes a memory leak of byte streams allocated in r600_llvm_compile. No regressions found in the tests of opencl-example/run_tests.sh. signed-off-by: Xinya Zhang --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/

[Mesa-dev] [Bug 54365] [swrast] piglit fbo-1d regression

2012-09-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54365 Timo Aaltonen changed: What|Removed |Added CC||tjaal...@ubuntu.com --- Comment #5 from