[Mesa-dev] [PATCHv2] r600g: get and use backends mask for occlusion queries

2011-07-10 Thread Vadim Girlin
Use backend_map kernel query if supported, otherwise analyze ZPASS_DONE results to get the mask. Signed-off-by: Vadim Girlin --- I'm not sure about backend_map to mask conversion, it works for me but needs to be verified. src/gallium/drivers/r600/r600.h|4 + src/gallium

Re: [Mesa-dev] [PATCH 00/13] Floating-point depth buffers

2011-07-10 Thread Eric Anholt
On Fri, 1 Jul 2011 02:29:32 +0200, Marek Olšák wrote: > Hi, > > this patch series implements ARB_depth_buffer_float in Mesa and Gallium. > There is complete r600g/r600-r700 support in my private branch, which passes > the same tests that pass for Z24S8. Softpipe has only sampler support. This

Re: [Mesa-dev] [PATCH] mesa: implement packing of DEPTH_STENCIL & FLOAT_32_UNSIGNED_INT_24_8_REV combo

2011-07-10 Thread Marek Olšák
Sorry, I pushed this patch accidentally. I will revert if needed. Marek On Mon, Jul 11, 2011 at 3:04 AM, Marek Olšák wrote: > Tested with the new piglit fbo-depthstencil test. > --- >  src/mesa/main/pack.c                      |   21 - >  src/mesa/main/pack.h                

Re: [Mesa-dev] [PATCH 1/2] mesa: return early if mask is cleared to zero in BlitFramebuffer

2011-07-10 Thread Marek Olšák
Sorry, I pushed this series accidentally. I will revert if needed. Marek On Sun, Jul 10, 2011 at 8:30 PM, Marek Olšák wrote: > From ARB_framebuffer_object: >    If a buffer is specified in and does not exist in both the >    read and draw framebuffers, the corresponding bit is silently >    ign

[Mesa-dev] [PATCH] mesa: implement packing of DEPTH_STENCIL & FLOAT_32_UNSIGNED_INT_24_8_REV combo

2011-07-10 Thread Marek Olšák
Tested with the new piglit fbo-depthstencil test. --- src/mesa/main/pack.c | 21 - src/mesa/main/pack.h |4 ++-- src/mesa/state_tracker/st_cb_readpixels.c |2 +- src/mesa/swrast/s_readpix.c |2 +- 4 files cha

Re: [Mesa-dev] [PATCH] glsl: Reject ambiguous function calls (multiple inexact matches).

2011-07-10 Thread Eric Anholt
On Sat, 9 Jul 2011 01:56:19 -0700, Kenneth Graunke wrote: > According to the GLSL 1.20 specification, "it is a semantic error if > there are multiple ways to apply [implicit] conversions [...] such that > the call can be made to match multiple signatures." > > Fixes a regression caused by 60eb6

Re: [Mesa-dev] [PATCH] r600g: get and use backends mask for occlusion queries

2011-07-10 Thread Alex Deucher
On Sun, Jul 10, 2011 at 4:31 PM, Vadim Girlin wrote: > This patch uses ZPASS_DONE counters to get the mask on context creation, > then uses it for query buffer initialization. > > Signed-off-by: Vadim Girlin > --- > > Probably it's not the best way, but i hope it should be more reliable than > th

[Mesa-dev] [PATCH] r600g: get and use backends mask for occlusion queries

2011-07-10 Thread Vadim Girlin
This patch uses ZPASS_DONE counters to get the mask on context creation, then uses it for query buffer initialization. Signed-off-by: Vadim Girlin --- Probably it's not the best way, but i hope it should be more reliable than the current implementation. I've tested it with the juniper card whic

[Mesa-dev] [PATCH 2/2] swrast: fix depth/stencil blits when there's no colorbuffer

2011-07-10 Thread Marek Olšák
NOTE: This is a candidate for the 7.10 and 7.11 branches. --- src/mesa/swrast/s_blit.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index 3516a41..7f53f19 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s

[Mesa-dev] [PATCH 1/2] mesa: return early if mask is cleared to zero in BlitFramebuffer

2011-07-10 Thread Marek Olšák
>From ARB_framebuffer_object: If a buffer is specified in and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored. --- src/mesa/main/fbobject.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/fbobje

[Mesa-dev] [Bug 39116] New: manywin xdemo texture issue

2011-07-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39116 Summary: manywin xdemo texture issue Product: Mesa Version: 7.10 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium

[Mesa-dev] [Bug 39095] egl_gallium.so failed to compile

2011-07-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39095 Chia-I Wu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|