Re: [Mesa-dev] [PATCH 00/74] ARB_shader_storage_buffer_object (mesa, i965)

2015-05-17 Thread Iago Toral
Hi Jordan, thanks for the pointer, we will start working on the NIR bits in that case. Iago On Fri, 2015-05-15 at 17:27 -0700, Jordan Justen wrote: > On 2015-05-14 07:06:03, Iago Toral Quiroga wrote: > > Notice that NIR is not supported yet, so anyone wanting to test this on > > i965 needs to se

[Mesa-dev] [Bug 90497] link: /usr/lib64/dri/i965_dri.so: undefined symbol: _glapi_set_nop_handler

2015-05-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90497 --- Comment #1 from Michel Dänzer --- I think this happens when using a new version of *_dri.so with an old version of libglapi.so.0. Make sure the latter is from the same version of Mesa as the former. -- You are receiving this mail because: Y

Re: [Mesa-dev] [Nouveau] [PATCH] nvc0: fix context destruction for partly implemented tesselation

2015-05-17 Thread Ilia Mirkin
Hm, oops. But I guess my tess patchset will take care of this. I guess it's a side-effect of adding to the gallium enums. Marek, you ended up pushing those gallium patches out... I was going to wait until the branchpoint was done. Should we just fix up the drivers as necessary, or fix up st_destro

[Mesa-dev] [PATCH] gk110/ir: make sched calculator take regs >= 64 into account

2015-05-17 Thread Ilia Mirkin
GK110/GK208 have 256 registers, not 64. Find out the number of registers from the target (which will report 255/63 as the last reg is hard-wired to 0). Signed-off-by: Ilia Mirkin --- .../drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 17 ++--- 1 file changed, 10 insertions(+),

[Mesa-dev] [PATCH] glsl: avoid leaking linked gl_shader when there's a late linker error

2015-05-17 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- Just happened to notice it... still not the leak I'm chasing :( The only time this can happen is basically when it's unhappy about the clip distance usage (i.e. clipvertex + clipdistance at the same time). src/glsl/linker.cpp | 10 -- 1 file changed, 8 ins

Re: [Mesa-dev] Mesa 10.6 release plan

2015-05-17 Thread Kenneth Graunke
On Sunday, May 17, 2015 09:34:30 AM Emil Velikov wrote: > On 16/05/15 17:11, Jason Ekstrand wrote: > > There was some discussion on IRC today about what the official date > > is. A bunch of Intel people have been working under the assumption > > that it's the end of next week, not this week. > Wha

Re: [Mesa-dev] [PATCH] st/mesa: don't leak glsl_to_tgsi object on link failure

2015-05-17 Thread Ilia Mirkin
On Sun, May 17, 2015 at 5:37 PM, Kenneth Graunke wrote: > On Sunday, May 17, 2015 05:32:24 PM Ilia Mirkin wrote: >> Signed-off-by: Ilia Mirkin >> --- >> 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.c

Re: [Mesa-dev] [PATCH] st/mesa: don't leak glsl_to_tgsi object on link failure

2015-05-17 Thread Kenneth Graunke
On Sunday, May 17, 2015 05:32:24 PM Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > 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 74c19

[Mesa-dev] [PATCH] st/mesa: don't leak glsl_to_tgsi object on link failure

2015-05-17 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 74c1932..0c582f5 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++

[Mesa-dev] [Bug 90497] link: /usr/lib64/dri/i965_dri.so: undefined symbol: _glapi_set_nop_handler

2015-05-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90497 Bug ID: 90497 Summary: link: /usr/lib64/dri/i965_dri.so: undefined symbol: _glapi_set_nop_handler Product: Mesa Version: git Hardware: Other OS: All

[Mesa-dev] software tessellator

2015-05-17 Thread Dave Airlie
don't suppose anyone ever wrote one that we could reuse for softpipe? Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 01/12] nv50/ir: optimize the use of std::tr1::unordered_set

2015-05-17 Thread Chih-Wei Huang
2015-05-16 2:46 GMT+08:00 Ilia Mirkin : > Please elaborate why this is necessary. I have, in the past, had > requests to move to the C++11 std::unordered_set -- would that work > for you? I'd be happy with a #if c++11 is available, use > std::unordered_set. Otherwise use std::tr1::unordered_set. H

Re: [Mesa-dev] [PATCH 1/2] nvc0: add a header file for nvc0_query

2015-05-17 Thread Tobias Klausmann
Reviewed-by: Tobias Klausmann On 17.05.2015 18:21, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/Makefile.sources| 1 + src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 12 +-- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 28 ++

Re: [Mesa-dev] [PATCH 1/2] nv50: add a header file for nv50_query

2015-05-17 Thread Tobias Klausmann
Reviewed-by: Tobias Klausmann On 17.05.2015 18:19, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/Makefile.sources| 1 + src/gallium/drivers/nouveau/nv50/nv50_context.h | 12 +--- src/gallium/drivers/nouveau/nv50/nv50_query.c | 21 +

[Mesa-dev] [PATCH 2/2] nvc0: move nvc0_so_target_save_offset() to its correct location

2015-05-17 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 21 - src/gallium/drivers/nouveau/nvc0/nvc0_query.h | 3 --- src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 19 +++ 3 files changed, 19 insertions(+), 24 deletions(-) diff --g

[Mesa-dev] [PATCH 1/2] nvc0: add a header file for nvc0_query

2015-05-17 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/Makefile.sources| 1 + src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 12 +-- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 28 ++- src/gallium/drivers/nouveau/nvc0/nvc0_query.h | 47 +

[Mesa-dev] [PATCH 1/2] nv50: add a header file for nv50_query

2015-05-17 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/Makefile.sources| 1 + src/gallium/drivers/nouveau/nv50/nv50_context.h | 12 +--- src/gallium/drivers/nouveau/nv50/nv50_query.c | 21 + src/gallium/drivers/nouveau/nv50/nv50_query.h | 41 ++

[Mesa-dev] [PATCH 2/2] nv50: move nva0_so_target_save_offset() to its correct location

2015-05-17 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/nouveau/nv50/nv50_query.c | 18 -- src/gallium/drivers/nouveau/nv50/nv50_query.h | 3 --- src/gallium/drivers/nouveau/nv50/nv50_state.c | 18 ++ 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a

Re: [Mesa-dev] [PATCH] gallium: remove TGSI_SAT_MINUS_PLUS_ONE

2015-05-17 Thread Marek Olšák
I'm also amending the diff below. Marek diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h index 24cab94..953bdf6 100644 --- a/src/gallium/include/pipe/p_shader_tokens.h +++ b/src/gallium/include/pipe/p_shader_tokens.h @@ -538,10 +538,6 @@ struct

[Mesa-dev] [PATCH] gallium: remove TGSI_SAT_MINUS_PLUS_ONE

2015-05-17 Thread Marek Olšák
From: Marek Olšák It's a remnant of some old NV extension. Unused. I also have a patch that removes predicates if anyone is interested. --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c| 16 +-- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c| 21 + src/gallium/auxiliary/n

[Mesa-dev] [PATCH] mesa/driver/haiku: Drop Mesa swrast renderer

2015-05-17 Thread Alexander von Gluck IV
This just created extra upkeep and the push to move extern C's into mesa code would mean a large number of extern's in core Mesa driver interfaces. The Haiku Gallium renderers are mostly insulated via the C-based Haiku state tracker. As any future hardware support in Haiku will be gallium based, l

[Mesa-dev] [Bug 90147] swrast: build error undeclared _SC_PHYS_PAGES on osx

2015-05-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90147 --- Comment #12 from Jon TURNEY --- My patch is superseded by http://lists.freedesktop.org/archives/mesa-dev/2015-May/084445.html -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.

Re: [Mesa-dev] [PATCH:mesa] swrast: Build fix for Solaris

2015-05-17 Thread Jon TURNEY
On 16/05/2015 05:12, Alan Coopersmith wrote: Ah yes, I see Jons patch now in https://bugs.freedesktop.org/show_bug.cgi?id=90147#c9 That looks like it should work for Solaris too, so whichever the Mesa developers prefer... Alan's patch is clearly superior, so please apply.

Re: [Mesa-dev] Mesa 10.6 release plan

2015-05-17 Thread Emil Velikov
On 16/05/15 17:11, Jason Ekstrand wrote: > There was some discussion on IRC today about what the official date > is. A bunch of Intel people have been working under the assumption > that it's the end of next week, not this week. What would be the best way to minimise such confusion - more often em