[Mesa-dev] [PATCH 02/21] mesa: Check index buffer offset in DrawElements

2012-06-10 Thread Pauli Nieminen
DrawElements checks for cound beeing larger than index buffer object. But application can specify offset to buffer leading to buffer overflow again. ARB_vertex_buffer_object leaves the case undefined but allows program termination. But indirect glx needs to check to avoid crashing X. " What hap

[Mesa-dev] [BUG] gallium-gbm-target requires drm-pipe-loader

2012-06-10 Thread David Herrmann
Hi The recently added gbm gallium target (./src/gallium/targets/gbm/gbm.c) requires HAVE_DRM_PIPE_LOADER for pipe_loader_drm_probe(). Otherwise, the compiler fails with an unresolved function-name. However, HAVE_DRM_PIPE_LOADER is not defined when compiling i915 only, so I need to compile gallium

Re: [Mesa-dev] [PATCH] mesa: implement glTexImage as glTexSubImage when possible

2012-06-10 Thread Eric Anholt
On Fri, 8 Jun 2012 14:31:52 -0600, Brian Paul wrote: > I've now seen a couple apps that replace a whole texture image with a > glTexImage() call instead of glTexSubImage(). The later is better > because we can skip freeing/allocating texture memory. > > This patch checks if the new glTexImage's

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Michael Karcher
Am Sonntag, den 10.06.2012, 13:20 +0200 schrieb Daniel Vetter: > On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > > This patch fixes a copy/paste error and masking of depth/stencil (stencil > > is in the top 8 bits), and makes glean/readPixSanity happy. > Woot, nice catch - iirc t

[Mesa-dev] [Bug 47375] Blender crash on startup after upgrade to mesa 8.0.1

2012-06-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47375 hart...@technotecture.com changed: What|Removed |Added CC||hart...@technotecture.com ---

Re: [Mesa-dev] [PATCH] r600g: cache shader variants instead of rebuilding v2

2012-06-10 Thread Vadim Girlin
On Sun, 2012-06-10 at 10:27 +0200, Christian König wrote: > On 10.06.2012 04:07, Vadim Girlin wrote: > > Shader variants are stored in the list, the key for lookup is based on the > > states that require different hw shaders - currently it's rctx->two_side > > (all > > gpus) and rctx->nr_cbufs (ev

[Mesa-dev] [PATCH v2] automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

2012-06-10 Thread Kenneth Graunke
The warnings appear to occur with newer automake (probably 1.12). v2: Use m4_ifdef like Eric suggested (it looks like AM_PROG_AR is necessary with automake 1.12 but not recognized in older versions...); also add the resulting bin/ar-lib to .gitignore. Signed-off-by: Kenneth Graunke ---

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Daniel Vetter
On Sun, Jun 10, 2012 at 01:20:36PM +0200, Daniel Vetter wrote: > On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > > This patch fixes a copy/paste error and masking of depth/stencil (stencil > > is in the top 8 bits), and makes glean/readPixSanity happy. > > > > Both the stencil a

Re: [Mesa-dev] [PATCH 0/2] Add vertex id to llvmpipe.

2012-06-10 Thread Olivier Galibert
On Fri, Jun 08, 2012 at 09:01:42AM -0700, Jose Fonseca wrote: > Oliver, > > There will be other system values in the future, so instead of passing every > value as a different parameter, please define a structure in > src/gallium/auxiliary/gallivm/lp_bld_tgsi.h as > > struct lp_bld_tgsi_system_

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Daniel Vetter
On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > This patch fixes a copy/paste error and masking of depth/stencil (stencil > is in the top 8 bits), and makes glean/readPixSanity happy. > > Both the stencil and the depth buffer piglit test also pass if > glClear(DEPTH | STENCIL) i

[Mesa-dev] [PATCH 11/11] docs: whitespaces cleanup

2012-06-10 Thread Andreas Boll
--- docs/banner.html | 45 + docs/contents.html | 30 +++--- docs/devinfo.html |2 -- docs/dispatch.html |2 +- docs/faq.html |1 - docs/install.html |4 ++-- docs/llvmpipe.html

[Mesa-dev] [PATCH 10/11] docs: remove some superfluous tags

2012-06-10 Thread Andreas Boll
--- docs/news.html | 79 ++- 1 files changed, 37 insertions(+), 42 deletions(-) diff --git a/docs/news.html b/docs/news.html index 846cf34..70dcf19 100644 --- a/docs/news.html +++ b/docs/news.html @@ -1175,8 +1175,8 @@ Here's what's new:

[Mesa-dev] [PATCH 09/11] docs: remove unused table styles

2012-06-10 Thread Andreas Boll
--- docs/banner.html |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/docs/banner.html b/docs/banner.html index 43e3025..90147c0 100644 --- a/docs/banner.html +++ b/docs/banner.html @@ -5,8 +5,7 @@ Banner

[Mesa-dev] [PATCH 08/11] docs: remove unused anchor links

2012-06-10 Thread Andreas Boll
--- docs/versions.html | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/versions.html b/docs/versions.html index aa31ffc..4dc51cc 100644 --- a/docs/versions.html +++ b/docs/versions.html @@ -1442,7 +1442,7 @@ Bug fixes: -6.0.1 April 2, 2004 +6.0.1

[Mesa-dev] [PATCH 07/11] docs: prefer lowercase html tags

2012-06-10 Thread Andreas Boll
--- docs/banner.html | 30 +- docs/contents.html| 22 docs/devinfo.html | 12 ++-- docs/dispatch.html| 18 +++--- docs/download.html|4 +- docs/envvars.html |8 ++-- docs/install.html | 20 docs/intro.html | 18 +++---

[Mesa-dev] [PATCH 06/11] docs: use id instead of

2012-06-10 Thread Andreas Boll
--- docs/dispatch.html |9 ++ docs/faq.html| 68 +++-- docs/install.html| 21 +-- docs/repository.html |9 ++ docs/shading.html| 29 ++-- 5 files changed, 54 insertions(+), 82 deletions(

[Mesa-dev] [PATCH 05/11] docs/subset-A.html: fix markup

2012-06-10 Thread Andreas Boll
fixes tidy warnings: line 11 column 1 - Warning: isn't allowed in elements line 10 column 1 - Info: previously mentioned line 11 column 34 - Warning: discarding unexpected line 14 column 1 - Warning: isn't allowed in elements line 13 column 1 - Info: previously mentioned line 13 column 1 -

[Mesa-dev] [PATCH 04/11] docs/news.html: use proper markup

2012-06-10 Thread Andreas Boll
fixes tidy warnings: line 1227 column 9 - Warning: missing line 1228 column 17 - Warning: missing line 1235 column 25 - Warning: missing line 1259 column 17 - Warning: missing line 1267 column 9 - Warning: missing line 1359 column 9 - Warning: missing line 1361 column 55 - Warning: discardin

[Mesa-dev] [PATCH 03/11] docs: fix html end/start tags

2012-06-10 Thread Andreas Boll
for more well-formed html --- docs/autoconf.html|1 - docs/banner.html |1 - docs/contents.html|2 +- docs/download.html|2 +- docs/faq.html |2 +- docs/helpwanted.html |4 ++-- docs/install.html |6 -- docs/

[Mesa-dev] [PATCH 02/11] docs: escape special html chars

2012-06-10 Thread Andreas Boll
--- docs/contents.html|8 docs/llvmpipe.html|2 +- docs/news.html|6 +++--- docs/relnotes-6.4.1.html |2 +- docs/relnotes-7.10.1.html |2 +- docs/relnotes-7.10.3.html |6 +++--- docs/relnotes-7.10.html | 12 ++-- docs/relnot

[Mesa-dev] [PATCH 01/11] docs: consolidate html header and footer

2012-06-10 Thread Andreas Boll
add doctype add character encoding add missing tag unify html header and footer --- docs/autoconf.html | 14 ++-- docs/banner.html | 13 +++ docs/bugs.html | 22 +- docs/conform.html | 19 docs/contents.html | 1

[Mesa-dev] [PATCH 00/11] docs: html cleanup

2012-06-10 Thread Andreas Boll
Hi, the following patch series is the first part of cleaning up docs/. Please review and commit. The next steps are: - finish html cleanup (more well-formed html) Tools I'm using: * http://validator.w3.org/ * http://tidy.sourceforge.net/ - update docs content - drop obsolete docs @

Re: [Mesa-dev] [PATCH] r600g: cache shader variants instead of rebuilding v2

2012-06-10 Thread Christian König
On 10.06.2012 04:07, Vadim Girlin wrote: Shader variants are stored in the list, the key for lookup is based on the states that require different hw shaders - currently it's rctx->two_side (all gpus) and rctx->nr_cbufs (evergreen/cayman, when writes_all property is set). v2: - use simple list