Re: [Mesa-dev] [PATCH] meta: init var to silence uninitialized variable warning

2014-12-20 Thread Matt Turner
On Sat, Dec 20, 2014 at 4:34 AM, Brian Paul wrote: > --- > src/mesa/drivers/common/meta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c > index 87532c1..f479b1c 100644 > --- a/src/mesa/drivers/common/meta.c

Re: [Mesa-dev] [PATCH] tgsi: lowering support for alpha test

2014-12-20 Thread Rob Clark
Eric, we've managed to find the alpha-ref bitfield on a4xx, so suddenly I don't actually need this anymore.. I've pushed a slightly updated version where I'd fixed a few more things (and was passing the fbo-alphatest-formats tests for me) to my github tree, in case you feel motivated to take it o

Re: [Mesa-dev] [PATCH] tgsi: lowering support for alpha test

2014-12-20 Thread Roland Scheidegger
Am 20.12.2014 um 16:27 schrieb Roland Scheidegger: > Am 20.12.2014 um 02:02 schrieb Rob Clark: >> On Fri, Dec 19, 2014 at 5:35 PM, Roland Scheidegger >> wrote: >>> I'm not a fan of using semantics for consts (fwiw I think it would >>> probably be a good idea to use different namespaces for system

Re: [Mesa-dev] [PATCH] tgsi: lowering support for alpha test

2014-12-20 Thread Roland Scheidegger
Am 20.12.2014 um 02:02 schrieb Rob Clark: > On Fri, Dec 19, 2014 at 5:35 PM, Roland Scheidegger > wrote: >> I'm not a fan of using semantics for consts (fwiw I think it would >> probably be a good idea to use different namespaces for system values >> and inputs too but that's another topic). >> I

Re: [Mesa-dev] [PATCH v3 134/133] nir/opcodes: Add algebraic properties metadata

2014-12-20 Thread Roland Scheidegger
Am 20.12.2014 um 03:02 schrieb Matt Turner: > On Fri, Dec 19, 2014 at 5:04 PM, Jason Ekstrand wrote: >> v3: fmin and fmax technically aren't commutative or associative. Things >> get funny when one of the arguments is a NaN. > > I have a difficult time believing that the GLSL definitions of

Re: [Mesa-dev] [PATCH] mesa: Add mesa SHA-1 functions

2014-12-20 Thread Olivier Galibert
Here is an implementation I've written myself, so no license issues. OG. On Fri, Dec 12, 2014 at 10:48 AM, Jose Fonseca wrote: > On 11/12/14 22:02, Brian Paul wrote: >> >> On 12/11/2014 02:51 PM, Carl Worth wrote: >>> >>> From: Kristian Høgsberg >>> >>> The upcoming shader cache uses the SHA

Re: [Mesa-dev] [PATCH v3 134/133] nir/opcodes: Add algebraic properties metadata

2014-12-20 Thread Marek Olšák
Hi Jason, The DX10 version of min/max is indeed commutative. However, GLSL specs define min/max using a conditional assignment: mix(x) = y < x ? y : x; max(x) = x < y ? y : x; which means that if either argument is NaN, x is returned., which means that you can combine open-coded min/max function

[Mesa-dev] [PATCH] meta: init var to silence uninitialized variable warning

2014-12-20 Thread Brian Paul
--- src/mesa/drivers/common/meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 87532c1..f479b1c 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -3177,7 +3177,7 @@ _mesa

[Mesa-dev] [PATCH] i965: Move first_post_swapbuffers_batch from the context into the renderbuffer (v2)

2014-12-20 Thread Vivek Kasireddy
If there are multiple EGL surfaces associated with one EGL context, for any given surface, we unnecessarily have to wait for swapbuffers to complete on other EGL surfaces because we throttle to the context. By moving first_post_swapbuffers_batch from the brw context into intel_renderuffer, we would

[Mesa-dev] Mesa 10.3.6 is pushed back until 26th Dec

2014-12-20 Thread Emil Velikov
Hello all, As you may have noticed there were a few DRI3/Present related fixes recently by Mario [1]. A few days after Axel and Eric's review, I've pushed them to the master and the stable branches. Now it seems that we might need to revert some of them [2] :'( As this discussion is still ongoing

Re: [Mesa-dev] [PATCH] auxiliary/vl: move most sources back into the aux library

2014-12-20 Thread Emil Velikov
On 19/12/14 14:14, Christian König wrote: > Am 19.12.2014 um 15:04 schrieb Emil Velikov: >> Due to the current implementation of the gl-vdpau interop, we depend on >> the dri module having a working set of util VL functions. Otherwise we >> will end up calling the stubs. >> >> This commit partially

[Mesa-dev] [Bug 86837] kodi segfault since auxiliary/vl: rework the build of the VL code

2014-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86837 --- Comment #9 from Emil Velikov --- (In reply to Christian König from comment #8) > (In reply to Emil Velikov from comment #6) > > Christian, > > > > Are you concerned about the hidden and unchecked ABI mentioned - can you see > > an easy way a