Re: [Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1 v3

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 07:56 PM, Tapani Pälli wrote: > Patch changes i915 and i965 drivers to use fixed function version of > meta clear when running on ES 1.1. This fixes rendering errors seen with > Google Maps, Angry Birds and Gallery3D on Android platform. > > Change 88128516d43be5d25288ff5b64db63cda83

[Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1 v3

2012-08-08 Thread Tapani Pälli
Patch changes i915 and i965 drivers to use fixed function version of meta clear when running on ES 1.1. This fixes rendering errors seen with Google Maps, Angry Birds and Gallery3D on Android platform. Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions internally to be availabl

[Mesa-dev] [Bug 44912] [bisected] WebGL conformance/textures/texture-mips tests fails

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44912 --- Comment #5 from Benoit Jacob 2012-08-09 02:48:31 UTC --- Forget comment 2, I dont have any idea of how to work around this driver bug, and it works in other drivers. Really hope for a driver fix here. This is the last WebGL 1.0.1 conformance

Re: [Mesa-dev] [PATCH 14/14] i965: Allow creation of OpenGL 3.1 contexts

2012-08-08 Thread Jordan Justen
For series: Reviewed-by: Jordan Justen On Wed, Aug 8, 2012 at 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/i965/brw_context.c | 19 +++ > 1 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/src

Re: [Mesa-dev] [PATCH 1/5] i965/fs: Fix the FS inputs setup when some SF outputs aren't used in the FS.

2012-08-08 Thread Kenneth Graunke
On 07/28/2012 04:43 PM, Eric Anholt wrote: > From: Olivier Galibert > > If there was an edge flag or a two-side-color pair present, we'd end up > mismatched and read values from earlier in the VUE for later FS inputs. > > v2: Fix regression in gles2conform shaders generating point size. (change

Re: [Mesa-dev] [PATCH 8/8] i965: Add perf debug for stalls during shader compiles.

2012-08-08 Thread Kenneth Graunke
On 08/07/2012 11:04 AM, Eric Anholt wrote: > --- > src/mesa/drivers/dri/i965/brw_fs.cpp| 13 + > src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 20 ++-- > src/mesa/drivers/dri/intel/intel_screen.c | 13 + > src/mesa/drivers/dri/intel/intel_scr

Re: [Mesa-dev] [PATCH 1/3] i965: Add a safety check for brw_set_saturate().

2012-08-08 Thread Eric Anholt
Eric Anholt writes: > Kenneth Graunke writes: > >> On 08/08/2012 03:08 PM, Eric Anholt wrote: >>> There is an easy chance for bugs in brw_wm_emit.c, where you would pass 1 >>> << 5 >>> instead of 1, which would get truncated to 0. >>> --- >>> src/mesa/drivers/dri/i965/brw_eu.c |1 + >>> 1

Re: [Mesa-dev] [PATCH 1/3] i965: Add a safety check for brw_set_saturate().

2012-08-08 Thread Eric Anholt
Kenneth Graunke writes: > On 08/08/2012 03:08 PM, Eric Anholt wrote: >> There is an easy chance for bugs in brw_wm_emit.c, where you would pass 1 << >> 5 >> instead of 1, which would get truncated to 0. >> --- >> src/mesa/drivers/dri/i965/brw_eu.c |1 + >> 1 file changed, 1 insertion(+) >>

[Mesa-dev] [Bug 52962] gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52962 --- Comment #1 from Chí-Thanh Christopher Nguyễn 2012-08-08 22:36:02 UTC --- Patch was sent for review: http://lists.freedesktop.org/archives/mesa-dev/2012-August/025278.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

Re: [Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2

2012-08-08 Thread Eric Anholt
Tapani Pälli writes: > Patch changes i915 and i965 drivers to use fixed function version of > meta clear when running on ES 1.1. This fixes rendering errors seen with > Google Maps, Angry Birds and Gallery3D on Android platform. > > Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all exte

Re: [Mesa-dev] [PATCH 2/3] i965: Drop the confusing saturate argument to math instruction setup.

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 03:08 PM, Eric Anholt wrote: > This was ridiculous. We were ignoring the inst->header.saturate flag in the > case of math and only math. On gen4, we would leave inst->header.saturate in > place if it happened to be set, which would end up being applied to the > implicit mov and thus

Re: [Mesa-dev] [PATCH 14/14] i965: Allow creation of OpenGL 3.1 contexts

2012-08-08 Thread Eric Anholt
Ian Romanick writes: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/i965/brw_context.c | 19 +++ > 1 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_context.c > b/src/mesa/drivers/dri/i965/brw_

Re: [Mesa-dev] [PATCH 13/14] i965: Advertise GLSL 1.40 and TexBOs in core contexts

2012-08-08 Thread Eric Anholt
Ian Romanick writes: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/intel/intel_extensions.c | 10 +- > 1 files changed, 9 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c > b/src/mesa/drivers/dri/intel/i

Re: [Mesa-dev] [PATCH 1/3] i965: Add a safety check for brw_set_saturate().

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 03:08 PM, Eric Anholt wrote: > There is an easy chance for bugs in brw_wm_emit.c, where you would pass 1 << 5 > instead of 1, which would get truncated to 0. > --- > src/mesa/drivers/dri/i965/brw_eu.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/drivers/dri/i

Re: [Mesa-dev] [PATCH 01/14] mesa: Don't advertise deprecated extensions in a core context

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > It may be possible to trim the list of extensions futher. These are > just the obvious extensions that add functionality that the core context > explicitly forbids. Apple's core-context extension list is *just* the > extension

Re: [Mesa-dev] [PATCH 14/14] i965: Allow creation of OpenGL 3.1 contexts

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/i965/brw_context.c | 19 +++ > 1 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_context.c > b/src/mes

[Mesa-dev] [PATCH 2/3] i965: Drop the confusing saturate argument to math instruction setup.

2012-08-08 Thread Eric Anholt
This was ridiculous. We were ignoring the inst->header.saturate flag in the case of math and only math. On gen4, we would leave inst->header.saturate in place if it happened to be set, which would end up being applied to the implicit mov and thus trash the first argument. On gen6, we would overw

[Mesa-dev] [PATCH 3/3] i965/vs: Protect pow(x, y) MOV of y on gen4 from other instruction flags.

2012-08-08 Thread Eric Anholt
I don't know if it was possible to trigger this bug -- we don't merge saturates into the math instruction because we're bad at coalescing currently, and there's nothing generating these with predicates. Still, let's avoid future bugs when we do smarter codegen. --- src/mesa/drivers/dri/i965/brw_v

Re: [Mesa-dev] [PATCH] i915: Re-enable Z16/Z24 formats.

2012-08-08 Thread Eric Anholt
Reimar Döffinger writes: > This allows MPlayer to (mis-)use depth textures to quickly upload > and render 16-bit per component YUV video. > There is still the issue that the actual precision is only around > 10-bits, at least when using it in the way MPlayer does. > If someone knows an explanatio

Re: [Mesa-dev] [PATCH 13/14] i965: Advertise GLSL 1.40 and TexBOs in core contexts

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/intel/intel_extensions.c | 10 +- > 1 files changed, 9 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c > b/src/m

Re: [Mesa-dev] [PATCH 10/14] i915: Validate API and version in i915CreateContext

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/i915/i915_context.c | 35 > - > src/mesa/drivers/dri/i915/i915_context.h |3 ++ > src/mesa/drivers/dri/intel/intel_screen.c |4 +

[Mesa-dev] [PATCH 1/3] i965: Add a safety check for brw_set_saturate().

2012-08-08 Thread Eric Anholt
There is an easy chance for bugs in brw_wm_emit.c, where you would pass 1 << 5 instead of 1, which would get truncated to 0. --- src/mesa/drivers/dri/i965/brw_eu.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c index

Re: [Mesa-dev] [PATCH 08/14] intel: In the i915 driver, the chipset cannot be i965

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > In the i965 dirver, the chipset must be i965. > > Signed-off-by: Ian Romanick > --- > src/mesa/drivers/dri/intel/intel_screen.c | 13 + > 1 files changed, 5 insertions(+), 8 deletions(-) What you're asserting h

[Mesa-dev] [PATCH] i915: Re-enable Z16/Z24 formats.

2012-08-08 Thread Reimar Döffinger
This allows MPlayer to (mis-)use depth textures to quickly upload and render 16-bit per component YUV video. There is still the issue that the actual precision is only around 10-bits, at least when using it in the way MPlayer does. If someone knows an explanation for that I'd like to hear it, howev

Re: [Mesa-dev] [PATCH 07/14] dri: Pass API_OPENGL_CORE through to the drivers

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > This forces the drivers to do at least some validation of context API > and version before creating the context. In r100 and r200 drivers, this > means that they don't do any post-hoc validation. > > Signed-off-by: Ian Romanic

Re: [Mesa-dev] [PATCH 06/14] mesa: Filter a bunch more functions based on API

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick Two small mistakes, noted below. > diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c > index 81be46d..67f17a4 100644 > --- a/src/mesa/main/api_exec.c > +++ b/src/mesa/main/api_exec.c

Re: [Mesa-dev] [PATCH 07/14] dri: Pass API_OPENGL_CORE through to the drivers

2012-08-08 Thread Ian Romanick
These drivers can only do OpenGL 1.3. (Sent from my phone.) On Aug 8, 2012, at 11:21 AM, Jordan Justen wrote: > On Wed, Aug 8, 2012 at 10:38 AM, Ian Romanick wrote: >> From: Ian Romanick >> >> This forces the drivers to do at least some validation of context API >> and version before creatin

Re: [Mesa-dev] [PATCH v2] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 10:18:43AM -0700, Kenneth Graunke wrote: > This removes the CS stall on Ivybridge. > > On Sandybridge, the depth stall needs to be preceded by a non-zero > post-sync op, which requires a CS stall, which needs a stall at > scoreboard. Emit the full workaround. > > Cc: Dani

Re: [Mesa-dev] [PATCH 07/14] dri: Pass API_OPENGL_CORE through to the drivers

2012-08-08 Thread Jordan Justen
On Wed, Aug 8, 2012 at 10:38 AM, Ian Romanick wrote: > From: Ian Romanick > > This forces the drivers to do at least some validation of context API > and version before creating the context. In r100 and r200 drivers, this > means that they don't do any post-hoc validation. > > Signed-off-by: Ian

[Mesa-dev] [PATCH 10/10] egl: Allow OpenGL ES 3.0 as a version

2012-08-08 Thread Ian Romanick
From: Ian Romanick In the DRI2 back-end this will get the same API as GLES 2.0. Signed-off-by: Ian Romanick --- src/egl/drivers/dri2/egl_dri2.c |1 + src/egl/main/eglcontext.c |8 +++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri

[Mesa-dev] [PATCH 09/10] dri2: Note that __DRI_API_GLES2 is also used for OpenGL ES 3.0

2012-08-08 Thread Ian Romanick
From: Ian Romanick Unlike 1.x to 2.0, OpenGL ES 3.0 is backwards compatible with 2.0. Use the same API flag for both. Applications that specifically want 3.0 will specify this using the major / minor version attributes. Signed-off-by: Ian Romanick --- include/GL/internal/dri_interface.h |

[Mesa-dev] [PATCH 08/10] egl_dri2: Add support for EGL_KHR_create_context and EGL_EXT_create_context_robustness

2012-08-08 Thread Ian Romanick
From: Ian Romanick Just like in GLX, EGL_KHR_create_context requires DRI2 version >= 3, and EGL_EXT_create_context_robustness requires both DRI2 version >= 3 and the __DRI2_ROBUSTNESS extension. Signed-off-by: Ian Romanick --- src/egl/drivers/dri2/egl_dri2.c | 67

[Mesa-dev] [PATCH 07/10] egl: Implement front-end support for EGL_EXT_create_context_robustness

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/egl/main/eglcontext.c | 25 + src/egl/main/egldisplay.h |2 ++ src/egl/main/eglmisc.c|2 ++ 3 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglco

[Mesa-dev] [PATCH 06/10] egl: Implement front-end support for EGL_KHR_create_context

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/egl/main/eglcontext.c | 217 +++- src/egl/main/eglcontext.h |3 + src/egl/main/egldisplay.h |1 + src/egl/main/eglmisc.c|1 + 4 files changed, 217 insertions(+), 5 deletions(-) diff

[Mesa-dev] [PATCH 05/10] egl_dri2: Silence warnings about missing initializers

2012-08-08 Thread Ian Romanick
From: Ian Romanick egl_dri2.c: At top level: egl_dri2.c:325:4: warning: missing initializer [-Wmissing-field-initializers] egl_dri2.c:325:4: warning: (near initialization for 'swrast_driver_extensions[2].version') [-Wmissing-field-initializers] egl_dri2.c:330:4: warning: missing initializer [-Wm

[Mesa-dev] [PATCH 04/10] egl: Rename ClientVersion to ClientMajorVersion, add ClientMinorVersion

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/egl/drivers/dri2/egl_dri2.c |4 ++-- src/egl/main/eglcontext.c |9 + src/egl/main/eglcontext.h |3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/

[Mesa-dev] [PATCH 03/10] egl_dri2: Use createContextAttribs if DRI2 version >= 3

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/egl/drivers/dri2/egl_dri2.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index cc37bf0..3bf46aa 100644 --- a/src/egl/drivers/dri

[Mesa-dev] [PATCH 02/10] egl_dri2: Require DRI2 version 2

2012-08-08 Thread Ian Romanick
From: Ian Romanick The extra block in dri2_create_context is to prevent extra white space noise in the next patch. Signed-off-by: Ian Romanick --- src/egl/drivers/dri2/egl_dri2.c | 27 +-- 1 files changed, 5 insertions(+), 22 deletions(-) diff --git a/src/egl/drivers

[Mesa-dev] [PATCH 01/10] dri_util: Compare against the correct API enums

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/common/dri_util.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 025a14a..9f031f5 100644 --- a/src/mesa/dri

Re: [Mesa-dev] [PATCH 04/14] mesa: Don't advertise extensions that are part of GL 1.4 in a core context

2012-08-08 Thread Brian Paul
On 08/08/2012 11:38 AM, Ian Romanick wrote: From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 5115d42..cc

[Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1 v2

2012-08-08 Thread Tapani Pälli
Patch changes i915 and i965 drivers to use fixed function version of meta clear when running on ES 1.1. This fixes rendering errors seen with Google Maps, Angry Birds and Gallery3D on Android platform. Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions internally to be availabl

[Mesa-dev] [PATCH 14/14] i965: Allow creation of OpenGL 3.1 contexts

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_context.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 013ec14..990b467 100644

[Mesa-dev] [PATCH 13/14] i965: Advertise GLSL 1.40 and TexBOs in core contexts

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_extensions.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 76b56a2..10e664

[Mesa-dev] [PATCH 12/14] intel: Clean up bits of cruft in intelCreateContext

2012-08-08 Thread Ian Romanick
From: Ian Romanick This and the previous three commits should probably be squashed together... Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_screen.c | 51 ++-- 1 files changed, 11 insertions(+), 40 deletions(-) diff --git a/src/mesa/drivers/dri/in

[Mesa-dev] [PATCH 11/14] i965: Validate API and version in brwCreateContext

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_context.c | 40 ++-- src/mesa/drivers/dri/i965/brw_context.h |3 ++ src/mesa/drivers/dri/intel/intel_screen.c |8 - 3 files changed, 46 insertions(+), 5 deletions(-) diff

[Mesa-dev] [PATCH 10/14] i915: Validate API and version in i915CreateContext

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/i915/i915_context.c | 35 - src/mesa/drivers/dri/i915/i915_context.h |3 ++ src/mesa/drivers/dri/intel/intel_screen.c |4 +++ 3 files changed, 41 insertions(+), 1 deletions(-) diff -

[Mesa-dev] [PATCH 09/14] i830: Validate API and version before calling i830CreateContext

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_screen.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 54ad112..2fef8fe 1

[Mesa-dev] [PATCH 08/14] intel: In the i915 driver, the chipset cannot be i965

2012-08-08 Thread Ian Romanick
From: Ian Romanick In the i965 dirver, the chipset must be i965. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_screen.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/inte

[Mesa-dev] [PATCH 07/14] dri: Pass API_OPENGL_CORE through to the drivers

2012-08-08 Thread Ian Romanick
From: Ian Romanick This forces the drivers to do at least some validation of context API and version before creating the context. In r100 and r200 drivers, this means that they don't do any post-hoc validation. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/common/dri_util.c |

[Mesa-dev] [PATCH 06/14] mesa: Filter a bunch more functions based on API

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/api_exec.c | 204 ++ 1 files changed, 115 insertions(+), 89 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 81be46d..67f17a4 100644 --- a/src/mesa/m

[Mesa-dev] [PATCH 05/14] mesa: Don't advertise extensions that are part of GL 1.5 in a core context

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index cca1eac..521fe14 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/

[Mesa-dev] [PATCH 04/14] mesa: Don't advertise extensions that are part of GL 1.4 in a core context

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 5115d42..cca1eac 100644 --- a/src/mesa/main/extensions.c

[Mesa-dev] [PATCH 03/14] mesa: Don't advertise extensions that are part of GL 1.3 in a core context

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 1402718..5115d42 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa

[Mesa-dev] [PATCH 02/14] mesa: Don't advertise extensions that are part of GL 1.2 in a core context

2012-08-08 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 41ab7f5..1402718 100644 --- a/src/mesa/main/extensions.c +++

[Mesa-dev] [PATCH 01/14] mesa: Don't advertise deprecated extensions in a core context

2012-08-08 Thread Ian Romanick
From: Ian Romanick It may be possible to trim the list of extensions futher. These are just the obvious extensions that add functionality that the core context explicitly forbids. Apple's core-context extension list is *just* the extensions on top of the core GL version. I'm not sure we want t

[Mesa-dev] [PATCH v2] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Kenneth Graunke
This removes the CS stall on Ivybridge. On Sandybridge, the depth stall needs to be preceded by a non-zero post-sync op, which requires a CS stall, which needs a stall at scoreboard. Emit the full workaround. Cc: Daniel Vetter Cc: Eric Anholt Signed-off-by: Kenneth Graunke --- src/mesa/drive

Re: [Mesa-dev] [PATCH] glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION.

2012-08-08 Thread Ian Romanick
On 08/06/2012 04:49 PM, Kenneth Graunke wrote: I noticed that we have a bit of inconsistency in how we handle context defaults. In some cases, we initialize variables with default values in dri{2,sw}_create_context_attribs. In other cases, we rely on dri2_convert_glx_attribs to do that for us.

Re: [Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1

2012-08-08 Thread Tapani Pälli
On 08/08/2012 07:33 PM, Kenneth Graunke wrote: > On 08/08/2012 01:34 AM, Tapani Pälli wrote: >> Patch changes i915 and i965 drivers to use fixed function version of >> meta clear when running on ES 1.1. This fixes rendering errors seen with >> Google Maps, Angry Birds and Gallery3D on Android platf

Re: [Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1

2012-08-08 Thread Kenneth Graunke
On 08/08/2012 01:34 AM, Tapani Pälli wrote: > Patch changes i915 and i965 drivers to use fixed function version of > meta clear when running on ES 1.1. This fixes rendering errors seen with > Google Maps, Angry Birds and Gallery3D on Android platform. > > Change 88128516d43be5d25288ff5b64db63cda83

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Eric Anholt
Kenneth Graunke writes: > Separate out the depth stall from the depth count write. Workarounds > say that a depth stall needs to be preceeded with a non-zero post-sync > op (in this case, the depth count write). Also, before the non-zero > post-sync op, we need a CS stall, which needs a stall a

[Mesa-dev] [Bug 42883] Firefox crashes in state_tracker/st_cb_blit.c:87

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42883 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 44912] [bisected] WebGL conformance/textures/texture-mips tests fails

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44912 Andreas Boll changed: What|Removed |Added CC||jlp.b...@gmail.com --- Comment #4 from An

Re: [Mesa-dev] [PATCH 1/4] svga: remove unused svga_winsys_handle type

2012-08-08 Thread Jose Fonseca
Series looks good to me Reviewed-by: Jose Fonseca - Original Message - > --- > src/gallium/drivers/svga/svga_winsys.h |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/drivers/svga/svga_winsys.h > b/src/gallium/drivers/svga/svga_winsys.h > inde

Re: [Mesa-dev] down to 1 test page failing in WebGL 1.0.1 test on Radeon driver

2012-08-08 Thread Andreas Boll
2012/8/7 Andreas Boll : > 2012/8/6 Laurent Carlier : >> Le lundi 6 août 2012 17:14:52 Alex Deucher a écrit : >> >>> On Mon, Aug 6, 2012 at 5:14 PM, Alex Deucher >>> wrote: >> >>> > On Mon, Aug 6, 2012 at 12:43 AM, Benoit Jacob >>> > wrote: >> >>> >> Hi, >> >>> >> >> >>> >> Just so you know: the W

[Mesa-dev] [PATCH 4/4] swrast: add missing switch case for API_OPENGL_CORE

2012-08-08 Thread Brian Paul
To silence compiler warning. --- src/mesa/drivers/dri/swrast/swrast.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 22d71bf..ca6bda02 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++

[Mesa-dev] [PATCH 2/4] svga: remove unused svga_shader::use_sm30 field, add comments

2012-08-08 Thread Brian Paul
--- src/gallium/drivers/svga/svga_context.h |4 +--- src/gallium/drivers/svga/svga_tgsi.h|9 - 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 7567431..f243b4f 100644 --- a/s

[Mesa-dev] [PATCH 1/4] svga: remove unused svga_winsys_handle type

2012-08-08 Thread Brian Paul
--- src/gallium/drivers/svga/svga_winsys.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h index d9560ef..f410cf0 100644 --- a/src/gallium/drivers/svga/svga_winsys.h +++ b/src/gallium/driver

[Mesa-dev] [PATCH 3/4] gallivm: remove unused src_elem_type variable

2012-08-08 Thread Brian Paul
--- .../auxiliary/gallivm/lp_bld_format_aos_array.c|3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c b/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c index b8ec379..b163fbc 100644 --- a/src/gallium/auxil

Re: [Mesa-dev] [PATCH] radeonsi: If pixel shader compilation fails, use a dummy shader.

2012-08-08 Thread Alex Deucher
On Wed, Aug 8, 2012 at 9:37 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Otherwise we're likely to hang the GPU. > > Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.fr

[Mesa-dev] [PATCH] radeonsi: If pixel shader compilation fails, use a dummy shader.

2012-08-08 Thread Michel Dänzer
From: Michel Dänzer Otherwise we're likely to hang the GPU. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_pipe.c | 10 ++ src/gallium/drivers/radeonsi/radeonsi_pipe.h |4 src/gallium/drivers/radeonsi/radeonsi_shader.c |5 - src/gallium/dr

Re: [Mesa-dev] [PATCH] st/mesa: Initialize tgsi_texture_offset Padding field.

2012-08-08 Thread Jose Fonseca
Looks good. Jose - Original Message - > Fixes uninitialized scalar variable defect reported by Coverity. > > Signed-off-by: Vinson Lee > --- > src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp

Re: [Mesa-dev] [PATCH 1/8] radeonsi: cleanup shader headers

2012-08-08 Thread Michel Dänzer
On Mit, 2012-08-08 at 13:05 +0200, Christian König wrote: > + * Authors: > + * Tom Stellard > + * Michel Dänzer > + * Christian König > + */ I'm not really a fan of such lists of authors in files, as they tend to become stale, and the information can be obtained via Git. Otherwise th

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 --- Comment #17 from max 2012-08-08 11:43:37 UTC --- Ubuntu quantal, intel [GM965/GL960] graphics card. Downgrading of libgl1-mesa-dri from xorg-edgers to original quantal version helps: apt-cache policy libgl1-mesa-dri libgl1-mesa-dri: Instal

[Mesa-dev] [PATCH 8/8] radeonsi: move drawing into new state handling

2012-08-08 Thread Christian König
Signed-off-by: Christian König --- .../drivers/radeonsi/evergreen_hw_context.c| 54 -- src/gallium/drivers/radeonsi/r600.h| 12 --- src/gallium/drivers/radeonsi/si_state.h|1 + src/gallium/drivers/radeonsi/si_state_draw.c | 108 ++

[Mesa-dev] [PATCH 7/8] radeonsi: move sync handling into new state handler

2012-08-08 Thread Christian König
So we can remove all the old atom handling. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/Makefile.sources|4 +- src/gallium/drivers/radeonsi/r600_hw_context.c | 34 +- src/gallium/drivers/radeonsi/r600_state_common.c | 77 -- src/galli

[Mesa-dev] [PATCH 6/8] radeonsi: separate and disable streamout for now

2012-08-08 Thread Christian König
I have my doubts that this code still works on SI. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/Makefile.sources |1 + .../drivers/radeonsi/evergreen_hw_context.c| 39 --- src/gallium/drivers/radeonsi/r600.h|2 - src/gallium/drivers/radeo

[Mesa-dev] [PATCH 5/8] radeonsi: remove ps_partial_flush

2012-08-08 Thread Christian König
Not needed any more. Signed-off-by: Christian König --- .../drivers/radeonsi/evergreen_hw_context.c| 13 - src/gallium/drivers/radeonsi/r600.h|1 - src/gallium/drivers/radeonsi/r600_hw_context.c | 13 - src/gallium/drivers/radeonsi/si_s

[Mesa-dev] [PATCH 4/8] radeonsi: remove r6xx_flush_and_inv atom

2012-08-08 Thread Christian König
It is not used any more. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/r600_state_common.c |8 src/gallium/drivers/radeonsi/radeonsi_pipe.h |1 - 2 files changed, 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/r600_state_common.c b/src/gallium/d

[Mesa-dev] [PATCH 3/8] radeonsi: move init state to new state handling

2012-08-08 Thread Christian König
Signed-off-by: Christian König --- .../drivers/radeonsi/evergreen_hw_context.c|1 - src/gallium/drivers/radeonsi/r600_hw_context.c | 16 +--- .../drivers/radeonsi/r600_hw_context_priv.h|5 - src/gallium/drivers/radeonsi/radeonsi_pipe.h |1 -

[Mesa-dev] [PATCH 2/8] radeonsi: add support for PKT3 cmds to new state handling

2012-08-08 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pm4.c | 35 --- src/gallium/drivers/radeonsi/radeonsi_pm4.h |4 +++ 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.c b/src/gallium/dri

[Mesa-dev] [PATCH 1/8] radeonsi: cleanup shader headers

2012-08-08 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pipe.h |4 -- src/gallium/drivers/radeonsi/radeonsi_shader.c | 28 ++ src/gallium/drivers/radeonsi/radeonsi_shader.h | 69 +++- src/gallium/drivers/radeonsi/si_state.c|1 + s

[Mesa-dev] [PATCH] intel: use _mesa_meta_Clear with OpenGL ES 1.1

2012-08-08 Thread Tapani Pälli
Patch changes i915 and i965 drivers to use fixed function version of meta clear when running on ES 1.1. This fixes rendering errors seen with Google Maps, Angry Birds and Gallery3D on Android platform. Change 88128516d43be5d25288ff5b64db63cda83c04b3 exposes all extensions internally to be availabl

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 09:41:44AM +0200, Daniel Vetter wrote: > On Tue, Aug 07, 2012 at 04:05:33PM -0700, Kenneth Graunke wrote: > > Separate out the depth stall from the depth count write. Workarounds > > say that a depth stall needs to be preceeded with a non-zero post-sync > > op (in this case

Re: [Mesa-dev] [PATCH 7/7] i965: Rework the extra flushes surrounding occlusion queries.

2012-08-08 Thread Daniel Vetter
On Tue, Aug 07, 2012 at 04:05:33PM -0700, Kenneth Graunke wrote: > Separate out the depth stall from the depth count write. Workarounds > say that a depth stall needs to be preceeded with a non-zero post-sync > op (in this case, the depth count write). Also, before the non-zero > post-sync op, we

[Mesa-dev] [PATCH] st/mesa: Initialize tgsi_texture_offset Padding field.

2012-08-08 Thread Vinson Lee
Fixes uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 43c80be..39