Re: [Mesa-dev] [PATCH] i965: Allow primitive restart on Haswell for additional primitive types.

2012-09-12 Thread Paul Berry
On 11 September 2012 15:34, Kenneth Graunke wrote: > On 09/11/2012 02:53 PM, Paul Berry wrote: > > On 7 September 2012 13:04, Kenneth Graunke > > wrote: > > > > These are supported in hardware; no need for software fallbacks. > > > > Not actually hit in any

Re: [Mesa-dev] [PATCH 19/19] r600g: convert the remnants of VGT state into immediate register writes

2012-09-12 Thread Jerome Glisse
On Tue, Sep 11, 2012 at 2:29 PM, Marek Olšák wrote: > On Tue, Sep 11, 2012 at 7:41 PM, Jerome Glisse wrote: >> On Tue, Sep 11, 2012 at 1:10 PM, Marek Olšák wrote: >>> Please provide information about the GPU and the test which locks up. I'd >>> like to reproduce it. Also please explain what's th

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

2012-09-12 Thread Andy Ritger
There was some recent Khronos discussion about updating the OpenGL Implementer's Guide for Linux, to which Ian Romanick noted that this topic will be discussed at XDC as part of the broad "Discuss the future of EGL, GLX, and OpenGL ES on Linux" agenda item. To help facilitate the XDC discussion, I

[Mesa-dev] [git pull] 9.0 fixes

2012-09-12 Thread Andreas Boll
Hi list, I've cherry-picked some commits for the 9.0 branch. I've done a piglit (1d05317) quick-driver run with r600g on my rv770 without any regressions. Could someone pull from my branch and push the patches to the 9.0 branch? I think we should probably cherry-pick almost all of the radeonsi fi

Re: [Mesa-dev] [RFC] glsl-to-llvm

2012-09-12 Thread Tom Stellard
On Tue, Sep 11, 2012 at 11:12:49PM +0200, Vincent wrote: > Hi, > > I'm currently working on a glsl to llvm pass that generates LLVM IR from > glsl tree for drivers that ships with a LLVM backend. The current code > is located here : http://cgit.freedesktop.org/~vlj/mesa in branch > glsl-to-llvm3.

Re: [Mesa-dev] [PATCH 1/2] r600g: add htile support v9

2012-09-12 Thread Jerome Glisse
On Tue, Jul 17, 2012 at 1:58 PM, wrote: > From: Jerome Glisse > > htile is used for HiZ and HiS support and fast Z/S clears. > This commit just adds the htile setup and Fast Z clear. > We don't take full advantage of HiS with that patch. > > v2 really use fast clear, still random issue with some

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a _mesa_fls() function to find the last bit set in a word.

2012-09-12 Thread Kenneth Graunke
On 09/12/2012 11:03 AM, Matt Turner wrote: > On Tue, Sep 11, 2012 at 10:14 PM, Kenneth Graunke > wrote: >> ffs() finds the least significant bit set; _mesa_fls() finds the /most/ >> significant bit. >> >> Signed-off-by: Kenneth Graunke >> --- >> src/mesa/main/imports.c | 22

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a _mesa_fls() function to find the last bit set in a word.

2012-09-12 Thread Matt Turner
On Tue, Sep 11, 2012 at 10:14 PM, Kenneth Graunke wrote: > ffs() finds the least significant bit set; _mesa_fls() finds the /most/ > significant bit. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/main/imports.c | 22 ++ > src/mesa/main/imports.h | 2 ++ > 2 files chang

Re: [Mesa-dev] [PATCH 1/3] mesa: do internal format error checking for glTexStorage()

2012-09-12 Thread Andreas Boll
2012/9/12 Brian Paul : > On 09/12/2012 10:34 AM, Andreas Boll wrote: >> >> This commit introduces a regression. >> Now the piglit test spec/ARB_texture_storage/texture-storage fails on >> r600g, llvmpipe and softpipe >> >> 2e4fc54977977e674ee77294e6632a24e594d17f is the first bad commit >> commit 2

Re: [Mesa-dev] [PATCH 1/3] mesa: do internal format error checking for glTexStorage()

2012-09-12 Thread Brian Paul
On 09/12/2012 10:34 AM, Andreas Boll wrote: This commit introduces a regression. Now the piglit test spec/ARB_texture_storage/texture-storage fails on r600g, llvmpipe and softpipe 2e4fc54977977e674ee77294e6632a24e594d17f is the first bad commit commit 2e4fc54977977e674ee77294e6632a24e594d17f Aut

Re: [Mesa-dev] [PATCH 1/3] mesa: do internal format error checking for glTexStorage()

2012-09-12 Thread Andreas Boll
This commit introduces a regression. Now the piglit test spec/ARB_texture_storage/texture-storage fails on r600g, llvmpipe and softpipe 2e4fc54977977e674ee77294e6632a24e594d17f is the first bad commit commit 2e4fc54977977e674ee77294e6632a24e594d17f Author: Brian Paul Date: Sat Sep 8 09:27:46 20

Re: [Mesa-dev] [PATCH] radeon/llvm: support for vectorised select

2012-09-12 Thread Tom Stellard
On Tue, Sep 11, 2012 at 10:34:18PM +0200, Vincent Lejeune wrote: > Conflicts: > src/gallium/drivers/radeon/R600ISelLowering.cpp As Matt mentioned, you can drop this conflicts line in the commit message. Other than that: Reviewed-by: Tom Stellard > --- > src/gallium/drivers/radeon/R600ISe

Re: [Mesa-dev] [PATCH] radeon/llvm: reserve also corresponding 128bits reg

2012-09-12 Thread Tom Stellard
On Tue, Sep 11, 2012 at 10:34:17PM +0200, Vincent Lejeune wrote: Reviewed-by: Tom Stellard > --- > src/gallium/drivers/radeon/R600RegisterInfo.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/drivers/radeon/R600RegisterInfo.cpp > b/src/gallium/drivers/radeon/R600Registe

Re: [Mesa-dev] [PATCH 2/2] _mesa_meta_GenerateMipmap: Generate separate shaders for glsl 120 / 130

2012-09-12 Thread Brian Paul
On 09/11/2012 07:32 PM, Anuj Phogat wrote: glsl version of _mesa_meta_GenerateMipmap() would require separate shaders for glsl 120 and 130. V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. NOTE: This is a candidate f

Re: [Mesa-dev] [PATCH 1/2] _mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime

2012-09-12 Thread Brian Paul
On 09/11/2012 07:27 PM, Anuj Phogat wrote: glsl path of _mesa_meta_GenerateMipmap() function would require different fragment shaders depending on the texture target. This patch adds the code to generate appropriate fragment shader programs at run time. Fixes https://bugs.freedesktop.org/show_bu

Re: [Mesa-dev] [PATCH 1/2] mesa: Add a _mesa_fls() function to find the last bit set in a word.

2012-09-12 Thread Brian Paul
On 09/11/2012 11:14 PM, Kenneth Graunke wrote: ffs() finds the least significant bit set; _mesa_fls() finds the /most/ significant bit. Signed-off-by: Kenneth Graunke --- src/mesa/main/imports.c | 22 ++ src/mesa/main/imports.h | 2 ++ 2 files changed, 24 insertions(+)

Re: [Mesa-dev] [PATCH] radeonsi: Fix calculation of number of records in buffer resource.

2012-09-12 Thread Christian König
On 12.09.2012 13:02, Michel Dänzer wrote: From: Michel Dänzer The value was too small by 1 in some cases (non-first of several vertex elements interleaved in a single buffer). Fixes intermittent incorrect geometry in many apps, e.g. piglit spec/EXT_texture_snorm/fbo-generatemipmap-formats. Si

Re: [Mesa-dev] [PATCH] build: Don't list glproto and dri2proto in pkg-config file

2012-09-12 Thread Dan Nicholson
On Tue, Sep 11, 2012 at 5:10 PM, Matt Turner wrote: > No files provided by glproto or dri2proto are needed for building > something with Mesa. > > Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=342393 > --- > Dan, does this make sense? Yeah, that's a good point. Although, I could have sworn th

Re: [Mesa-dev] [PATCH] intel: Improve teximage perf for Google Chrome paint rects

2012-09-12 Thread Chad Versace
On 09/11/2012 10:29 PM, Matt Turner wrote: > On Tue, Sep 11, 2012 at 12:04 PM, Chad Versace > wrote: >> + * This is a performance win over the conventional texture upload path >> because >> + * it avoids the performance penalty of writing throuh the write-combine > > "through" > > Very cool wor

[Mesa-dev] [PATCH] radeonsi: Fix calculation of number of records in buffer resource.

2012-09-12 Thread Michel Dänzer
From: Michel Dänzer The value was too small by 1 in some cases (non-first of several vertex elements interleaved in a single buffer). Fixes intermittent incorrect geometry in many apps, e.g. piglit spec/EXT_texture_snorm/fbo-generatemipmap-formats. Signed-off-by: Michel Dänzer --- src/gallium

[Mesa-dev] [Bug 54763] glCopyPixels dirties the context and all rendering is slower after that

2012-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54763 --- Comment #7 from Daniel van Vugt 2012-09-12 09:31:58 UTC --- It is a fallback used for maintaining a persistent backbuffer if FBOs are not available. However it's not an important one because all drivers provide FBOs now. http://bazaar.launc

[Mesa-dev] [Bug 54763] glCopyPixels dirties the context and all rendering is slower after that

2012-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54763 --- Comment #6 from Michel Dänzer 2012-09-12 09:29:28 UTC --- (In reply to comment #3) > Yes, the read buffer is GL_FRONT in this case. So I guess the slow-down is by > design in Mesa. Rather the X server / DRI2 protocol. It *might* be possible

Re: [Mesa-dev] [PATCH 1/1] main: validate the type correctly against the OpenGL ES spec.

2012-09-12 Thread Oliver McFadden
On Tue, Sep 11, 2012 at 11:15:18AM -0600, Brian Paul wrote: > On 09/11/2012 10:21 AM, Oliver McFadden wrote: > > On Tue, Sep 11, 2012 at 07:54:36AM -0600, Brian Paul wrote: > >> On 09/11/2012 06:09 AM, Oliver McFadden wrote: > >>> Previously Mesa would validate UNSIGNED_INT successfully in violatio