[Mesa-dev] [Bug 82538] Super Maryo Chronicles fails with st/mesa assertion failure

2014-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82538 Michel Dänzer changed: What|Removed |Added CC||mar...@gmail.com --- Comment #3 from Mic

Re: [Mesa-dev] [PATCH] clover: fix piglit cl-api-build-program test

2014-08-17 Thread Francisco Jerez
EdB writes: > On Sunday, August 17, 2014 11:50:12 PM Francisco Jerez wrote: >> EdB writes: >> > Hello >> > >> > There is a crash with your version. >> > This one works >> >> Oops, sorry for that. It seems like a hack to me to force the kernel >> reference count to one to keep it from being de

Re: [Mesa-dev] [PATCH 2/3] clover: stdify compat::vector a little more

2014-08-17 Thread Francisco Jerez
EdB writes: > make resize work like std::vector > reserve take advantage of capacity > rename members to be uniform with other class > --- > src/gallium/state_trackers/clover/core/module.cpp | 2 +- > src/gallium/state_trackers/clover/util/compat.hpp | 113 > +++--- > 2 files

Re: [Mesa-dev] [PATCH 1/3] clover: fix _logs string creation

2014-08-17 Thread Francisco Jerez
EdB writes: > compact::string is not \0 terminated. > size() need to be used for std::string creation > --- > src/gallium/state_trackers/clover/core/program.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/state_trackers/clover/core/program.cpp > b/sr

[Mesa-dev] [Bug 82538] Super Maryo Chronicles fails with st/mesa assertion failure

2014-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82538 --- Comment #2 from Michel Dänzer --- (In reply to comment #1) > It works fine for me on Kabini :). Mesa git > d7d8260f70326cd294715203dae8a8f0150680c1, llvm 3.5-rc2, I can still reproduce it with current Mesa Git. Does your Mesa build have ass

Re: [Mesa-dev] [PATCH 1/7] build: Let install-lib-links.mk handle .la files in subdirectories.

2014-08-17 Thread Matt Turner
On Sun, Aug 17, 2014 at 2:39 PM, Emil Velikov wrote: > On 15/08/14 18:47, Matt Turner wrote: >> The next patches are going to combine some of the mapi subdirectories' >> Makefiles into a single Makefile, giving better build parallelism. >> > Hi Matt, > > I must admit that while I like this patch,

Re: [Mesa-dev] [PATCH 2/7] mapi: Inline shared-glapi/Makefile.

2014-08-17 Thread Matt Turner
On Sun, Aug 17, 2014 at 1:06 PM, Kristian Høgsberg wrote: > On Fri, Aug 15, 2014 at 10:47:06AM -0700, Matt Turner wrote: >> --- >> configure.ac | 1 - >> src/mapi/Makefile.am | 44 >> --- >> src/mapi/shared-glapi/Makefile.am

[Mesa-dev] Standalone gbm and generic backends?

2014-08-17 Thread Damian Hobson-Garcia
Hello Ander and Jammy, Looking through the mesa-dev archives I came across your discussion about the possibility of splitting gbm into a separate project/archive: http://lists.freedesktop.org/archives/mesa-dev/2014-April/057609.html I was wondering if there are any further comments or ideas abou

[Mesa-dev] [PATCH v3 4/6] nvc0: Handle ARB_conditional_render_inverted and enable it

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 5 ++--- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +-- src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 4 +++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/nouv

[Mesa-dev] [PATCH v3 2/6] mesa/st: Support ARB_conditional_render_inverted modes

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/mesa/state_tracker/st_cb_condrender.c | 20 +++- src/mesa/state_tracker/st_extensions.c| 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_condrender.c b/src/mesa/state_tracker/st_cb_condr

[Mesa-dev] [PATCH v3 6/6] docs: Update status of ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
Done for: nvc0, softpipe and llvmpipe Signed-off-by: Tobias Klausmann --- docs/GL3.txt| 2 +- docs/relnotes/10.3.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index b38e42c..5549b30 100644 --- a/docs/GL3.txt +++ b/docs/GL3.tx

[Mesa-dev] [PATCH v3 5/6] llvmpipe/softpipe: enable ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/llvmpipe/lp_screen.c | 3 ++- src/gallium/drivers/softpipe/sp_screen.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 08597fa.

[Mesa-dev] [PATCH v3 3/6] gallium: Add and handle PIPE_CAP_CONDITIONAL_RENDER_INVERTED

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/docs/source/screen.rst | 2 ++ src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1 + src/gallium/drivers/llvmpipe/lp_scre

[Mesa-dev] [PATCH v3 1/6] mesa: add ARB_conditional_render_inverted flags

2014-08-17 Thread Tobias Klausmann
Also add an extension bit so we can safely enable Signed-off-by: Tobias Klausmann --- src/mesa/main/condrender.c | 10 -- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/condrender.c b/src

[Mesa-dev] [PATCH v3 0/6] Implement ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
This patch series adds support for ARB_conditional_render_inverted to nvc0, softpipe and llvmpipe. V2: - Add missing _mesa_BeginConditionalRender() parts to series - Fix nvc0 blit and inverted rendering - Fix relnotes - Enable for softpipe and llvmpipe - Rebase on top of current HEAD V3: - O

Re: [Mesa-dev] Mesa fails to build (32 bit chroot on 64 bit machine)

2014-08-17 Thread Kertesz Laszlo
On Mon, Aug 18, 2014 at 12:12 AM, Benjamin Bellec wrote: Hello, This error is due to the recent removal of "--disable-64-bit" and "--enable-32-bit" options. You should now replace them by "--build=i686-pc-linux-gnu" and "--host=i686-pc-linux-gnu" See here : http://lists.freedesktop.org/arch

Re: [Mesa-dev] [PATCH] clover: fix piglit cl-api-build-program test

2014-08-17 Thread EdB
On Sunday, August 17, 2014 11:50:12 PM Francisco Jerez wrote: > EdB writes: > > Hello > > > > There is a crash with your version. > > This one works > > Oops, sorry for that. It seems like a hack to me to force the kernel > reference count to one to keep it from being destroyed... Can you try

Re: [Mesa-dev] [PATCH 1/7] build: Let install-lib-links.mk handle .la files in subdirectories.

2014-08-17 Thread Emil Velikov
On 15/08/14 18:47, Matt Turner wrote: > The next patches are going to combine some of the mapi subdirectories' > Makefiles into a single Makefile, giving better build parallelism. > Hi Matt, I must admit that while I like this patch, I'm not at all a fan of the rest of the series. But I won't obj

Re: [Mesa-dev] [PATCH 12/12] i965: Implement fast color clears using meta operations

2014-08-17 Thread Chris Forbes
Yes, that fixes it. On Mon, Aug 18, 2014 at 9:01 AM, Kristian Høgsberg wrote: > On Sun, Aug 17, 2014 at 11:36:55PM +1200, Chris Forbes wrote: >> This commit (2f28a0dc2 on master) causes various apps (at least >> glxgears & vlc) to render garbage on my HSW GT3e. There are regular >> vertical bands

Re: [Mesa-dev] Mesa fails to build (32 bit chroot on 64 bit machine)

2014-08-17 Thread Emil Velikov
On 17/08/14 22:00, Kertesz Laszlo wrote: > Hello. > I have an issue building mesa on a 32 bit chroot. Compiling fails with the > below messages (the Error ones repeated 9000+ times): > > /tmp/ccvEhPCW.s: Assembler messages: > /tmp/ccvEhPCW.s:13: Error: bad register name `%rip)' > /tmp/ccvEhPCW.s:1

Re: [Mesa-dev] [PATCH v2 2/8] mesa: add ARB_conditional_render_inverted extension bit

2014-08-17 Thread Ilia Mirkin
If it were me doing it, I'd fold this with the previous change. Given the comments I gave on 1/8, you'll need to at least flip their order. On Sun, Aug 17, 2014 at 5:15 PM, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann > --- > src/mesa/main/extensions.c | 1 + > src/mesa/main/mtypes

Re: [Mesa-dev] [PATCH v2 6/8] nvc0: Fix blits with inverted conditional rendering

2014-08-17 Thread Ilia Mirkin
Fold this with the previous change -- otherwise there's a commit where nvc0 has this feature enabled but it's broken. On Sun, Aug 17, 2014 at 5:15 PM, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann > --- > src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 4 +++- > 1 file changed, 3

Re: [Mesa-dev] [PATCH v2 4/8] gallium/drivers: Handle PIPE_CAP_CONDITIONAL_RENDER_INVERTED

2014-08-17 Thread Ilia Mirkin
On Sun, Aug 17, 2014 at 5:15 PM, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann > --- > src/gallium/drivers/freedreno/freedreno_screen.c | 1 + > src/gallium/drivers/i915/i915_screen.c | 1 + > src/gallium/drivers/ilo/ilo_screen.c | 1 + > src/gallium/drivers/llv

Re: [Mesa-dev] [PATCH v2 3/8] gallium/st: Add PIPE_CAP_CONDITIONAL_RENDER_INVERTED

2014-08-17 Thread Ilia Mirkin
On Sun, Aug 17, 2014 at 5:15 PM, Tobias Klausmann wrote: > with this we determine if the driver wants to enable > GL_ARB_conditional_render_inverted > > Signed-off-by: Tobias Klausmann > --- > src/gallium/docs/source/screen.rst| 2 ++ > src/gallium/include/pipe/p_defines.h | 1 +

Re: [Mesa-dev] [PATCH v2 1/8] mesa: add ARB_conditional_render_inverted flags

2014-08-17 Thread Ilia Mirkin
On Sun, Aug 17, 2014 at 5:15 PM, Tobias Klausmann wrote: > Signed-off-by: Tobias Klausmann > --- > src/mesa/main/condrender.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/src/mesa/main/condrender.c b/src/mesa/main/condrender.c > index 0ad1e5c2..65bdaaf 100644 > --- a/src/mesa/mai

[Mesa-dev] [PATCH v2 8/8] docs: Update status of ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
Done for: nvc0, softpipe and llvmpipe Signed-off-by: Tobias Klausmann --- docs/GL3.txt| 2 +- docs/relnotes/10.3.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index b38e42c..5549b30 100644 --- a/docs/GL3.txt +++ b/docs/GL3.tx

[Mesa-dev] [PATCH v2 3/8] gallium/st: Add PIPE_CAP_CONDITIONAL_RENDER_INVERTED

2014-08-17 Thread Tobias Klausmann
with this we determine if the driver wants to enable GL_ARB_conditional_render_inverted Signed-off-by: Tobias Klausmann --- src/gallium/docs/source/screen.rst| 2 ++ src/gallium/include/pipe/p_defines.h | 1 + src/mesa/state_tracker/st_cb_condrender.c | 20 +++- sr

[Mesa-dev] [PATCH v2 7/8] llvmpipe/softpipe: enable ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/llvmpipe/lp_screen.c | 3 ++- src/gallium/drivers/softpipe/sp_screen.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 08597fa.

[Mesa-dev] [PATCH v2 5/8] nvc0: Handle ARB_conditional_render_inverted and enable it

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 5 ++--- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query.c b/src/gallium/drivers/nouveau/nvc0/nv

[Mesa-dev] [PATCH v2 2/8] mesa: add ARB_conditional_render_inverted extension bit

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index c5bd7b3..553c01e 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensi

[Mesa-dev] [PATCH v2 4/8] gallium/drivers: Handle PIPE_CAP_CONDITIONAL_RENDER_INVERTED

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1 + src/gallium/drivers/llvmpipe/lp_screen.c | 1 + src/gallium/drivers/nouveau/nv30/nv30

[Mesa-dev] [PATCH v2 0/8] Implement ARB_conditional_render_inverted

2014-08-17 Thread Tobias Klausmann
This patch series adds support for ARB_conditional_render_inverted to nvc0, softpipe and llvmpipe. V2: - Add missing _mesa_BeginConditionalRender() parts to series - Fix nvc0 blit and inverted rendering - Fix relnotes - Enable for softpipe and llvmpipe - Rebase on top of current HEAD Tobias

[Mesa-dev] [PATCH v2 1/8] mesa: add ARB_conditional_render_inverted flags

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/mesa/main/condrender.c | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/main/condrender.c b/src/mesa/main/condrender.c index 0ad1e5c2..65bdaaf 100644 --- a/src/mesa/main/condrender.c +++ b/src/mesa/main/condrender.c @@ -77,6 +77,10 @@ _mesa_

[Mesa-dev] [PATCH v2 6/8] nvc0: Fix blits with inverted conditional rendering

2014-08-17 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c b/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c index a29f0cc..622193b 100644 --- a/src/gal

Re: [Mesa-dev] Mesa fails to build (32 bit chroot on 64 bit machine)

2014-08-17 Thread Benjamin Bellec
Hello, This error is due to the recent removal of "--disable-64-bit" and "--enable-32-bit" options. You should now replace them by "--build=i686-pc-linux-gnu" and "--host=i686-pc-linux-gnu" See here : http://lists.freedesktop.org/archives/mesa-dev/2014-August/065574.html - Benjamin Le 17/08/20

Re: [Mesa-dev] [PATCH 12/12] i965: Implement fast color clears using meta operations

2014-08-17 Thread Kristian Høgsberg
On Sun, Aug 17, 2014 at 11:36:55PM +1200, Chris Forbes wrote: > This commit (2f28a0dc2 on master) causes various apps (at least > glxgears & vlc) to render garbage on my HSW GT3e. There are regular > vertical bands of black pixels; on some frames, a few blocks of pixels > within those bands are pre

[Mesa-dev] Mesa fails to build (32 bit chroot on 64 bit machine)

2014-08-17 Thread Kertesz Laszlo
Hello. I have an issue building mesa on a 32 bit chroot. Compiling fails with the below messages (the Error ones repeated 9000+ times): /tmp/ccvEhPCW.s: Assembler messages: /tmp/ccvEhPCW.s:13: Error: bad register name `%rip)' /tmp/ccvEhPCW.s:14: Error: bad register name `%rax)' /tmp/ccvEhPCW.s:

Re: [Mesa-dev] [PATCH 7/7] mapi: Inline shared-glapi/tests/Makefile.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:11AM -0700, Matt Turner wrote: > --- > configure.ac| 1 - > src/mapi/Makefile.am| 15 --- > src/mapi/shared-glapi/tests/Makefile.am | 19 --- > 3 files changed, 12 insertions(+), 23 deletions

Re: [Mesa-dev] [PATCH] clover: fix piglit cl-api-build-program test

2014-08-17 Thread Francisco Jerez
EdB writes: > Hello > > There is a crash with your version. > This one works > Oops, sorry for that. It seems like a hack to me to force the kernel reference count to one to keep it from being destroyed... Can you try the attached patch instead on top of my clover-next branch [1]? 8010325eaf a

Re: [Mesa-dev] [PATCH] clover: clGetProgramInfo support for OpenCL 1.2

2014-08-17 Thread Francisco Jerez
EdB writes: > On Saturday, August 16, 2014 08:57:01 PM Francisco Jerez wrote: >> EdB writes: >> > --- >> > >> > src/gallium/state_trackers/clover/api/program.cpp | 18 ++ >> > 1 file changed, 18 insertions(+) >> > >> > diff --git a/src/gallium/state_trackers/clover/api/program

[Mesa-dev] [PATCH] r600g: Fix missing SET_TEXTURE_OFFSETS

2014-08-17 Thread Glenn Kennard
SB needs a bit of special handling to handle instructions without obvious side effects, to avoid it deleting them. Fixes failing non-const ARB_gpu_shader5 textureOffsets piglits with sb enabled. Signed-off-by: Glenn Kennard --- src/gallium/drivers/r600/r600_isa.h| 9 +- src/galliu

Re: [Mesa-dev] [PATCH 5/7] mapi: Inline glapi/Makefile.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:09AM -0700, Matt Turner wrote: > --- > configure.ac| 1 - > src/mapi/Makefile.am| 36 ++- > src/mapi/glapi/Makefile.am | 64 > - > src/mapi/glapi/Makefile.sources | 22 +

Re: [Mesa-dev] [PATCH 4/7] mapi: Inline es2api/Makefile.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:08AM -0700, Matt Turner wrote: > --- > configure.ac| 1 - > src/mapi/Makefile.am| 42 ++- > src/mapi/es2api/Makefile.am | 69 > - > 3 files changed, 41 insertions(+), 71 dele

Re: [Mesa-dev] [PATCH 3/7] mapi: Inline es1api/Makefile.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:07AM -0700, Matt Turner wrote: > --- > configure.ac| 1 - > src/mapi/Makefile.am| 40 +++- > src/mapi/es1api/Makefile.am | 64 > - > 3 files changed, 39 insertions(+), 66 del

Re: [Mesa-dev] [PATCH 2/7] mapi: Inline shared-glapi/Makefile.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:06AM -0700, Matt Turner wrote: > --- > configure.ac | 1 - > src/mapi/Makefile.am | 44 > --- > src/mapi/shared-glapi/Makefile.am | 34 -- > src/mesa/Makefile.sources

Re: [Mesa-dev] [PATCH 1/7] build: Let install-lib-links.mk handle .la files in subdirectories.

2014-08-17 Thread Kristian Høgsberg
On Fri, Aug 15, 2014 at 10:47:05AM -0700, Matt Turner wrote: > The next patches are going to combine some of the mapi subdirectories' > Makefiles into a single Makefile, giving better build parallelism. > > lib_LTLIBRARIES will be set to something like > >lib_LTLIBRARIES = shared-glapi/libgla

[Mesa-dev] [Bug 67672] 9.2 git, Test failure in src/gallium/drivers/llvmpipe

2014-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67672 Nikoli changed: What|Removed |Added CC||nik...@gmx.us --- Comment #22 from Nikoli ---

Re: [Mesa-dev] [PATCH 12/12] i965: Implement fast color clears using meta operations

2014-08-17 Thread Chris Forbes
This commit (2f28a0dc2 on master) causes various apps (at least glxgears & vlc) to render garbage on my HSW GT3e. There are regular vertical bands of black pixels; on some frames, a few blocks of pixels within those bands are present; on others, not. On Tue, Aug 12, 2014 at 5:45 PM, Kristian Høgsb