[Mesa-dev] [PATCH] st/nine: Fix multisample limit check

2016-10-16 Thread Axel Davy
Fixes regression introduced by b5603056872708fdd82f1224854097805a01d4c0 The regression prevents some apps to start. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/adapter9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/nine/adapter

[Mesa-dev] [PATCH] egl: remove docs directory from EXTRA_DIST

2016-10-16 Thread Jonathan Gray
The egl docs directory no longer exists as of 88b5c36fe1a1546bf633ee161a6715efc593acbd. Remove it from EXTRA_DIST to unbreak 'make dist' Signed-off-by: Jonathan Gray --- src/egl/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am index 95ee6c

Re: [Mesa-dev] [PATCH] nv50/ir: Split 64-bit integer MAD/MUL operations

2016-10-16 Thread Pierre Moreau
On 06:38 pm - Oct 15 2016, Ilia Mirkin wrote: > On Sat, Oct 15, 2016 at 6:24 PM, Pierre Moreau wrote: > > Hardware does not support 64-bit integers MAD and MUL operations, so we need > > to transform them in 32-bit operations. > > > > Signed-off-by: Pierre Moreau > > --- > > .../drivers/nouveau/

Re: [Mesa-dev] [PATCH 2/2] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-16 Thread Marek Olšák
On Sun, Oct 16, 2016 at 8:27 AM, Edward O'Callaghan wrote: > V2. add i965/hsw+ to list > V3. rebased on master. > > Signed-off-by: Edward O'Callaghan > --- > docs/features.txt | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/docs/features.txt b/docs/fea

Re: [Mesa-dev] [PATCH] radv/winsys: Fail early on overgrown cs.

2016-10-16 Thread Bas Nieuwenhuizen
Pushed, thanks. - Bas On Thu, Oct 13, 2016 at 10:54 PM, Gustaw Smolarczyk wrote: > When !use_ib_bos, we can't easily chain ibs one to another. If the > required cs size grows over 1Mi - 8 dwords just fail the cs so that we > won't assert-fail in radv_amdgpu_winsys_cs_submit later on. > --- > Ple

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #35 from Marek Olšák --- Well, it's unreal engine 3, so it doesn't surprise me that it compiles shaders on demand. All UE3 games are affected in the same way. Possible solution 1: - persistent shader cache on the disk Possible solut

[Mesa-dev] [PATCH v4] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-16 Thread Edward O'Callaghan
V2. add i965/hsw+ to list V3. rebased on master. V4. 'DONE' -> 'DONE ()'. Signed-off-by: Edward O'Callaghan --- docs/features.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 0d6c16a..f5edc83 100644 --- a/docs/

Re: [Mesa-dev] [PATCH v4] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-16 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sun, Oct 16, 2016 at 1:59 PM, Edward O'Callaghan wrote: > V2. add i965/hsw+ to list > V3. rebased on master. > V4. 'DONE' -> 'DONE ()'. > > Signed-off-by: Edward O'Callaghan > --- > docs/features.txt | 18 +- > 1 file changed, 9 insertions(+),

Re: [Mesa-dev] [PATCH 2/2] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-16 Thread Edward O'Callaghan
On 10/16/2016 09:51 PM, Marek Olšák wrote: > On Sun, Oct 16, 2016 at 8:27 AM, Edward O'Callaghan > wrote: >> V2. add i965/hsw+ to list >> V3. rebased on master. >> >> Signed-off-by: Edward O'Callaghan >> --- >> docs/features.txt | 18 +- >> 1 file changed, 9 insertions(+), 9 de

[Mesa-dev] [PATCH] genxml: add generated headers to EXTRA_DIST

2016-10-16 Thread Jonathan Gray
Building the Mesa 12.0.3 distfile failed on a system without python as generated files were not included in the distfile. Cc: "12.0" Signed-off-by: Jonathan Gray --- src/intel/Makefile.genxml.am | 4 1 file changed, 4 insertions(+) diff --git a/src/intel/Makefile.genxml.am b/src/intel/Mak

[Mesa-dev] [PATCH] mesa: automake: include mesa_glinterop.h in distfile

2016-10-16 Thread Jonathan Gray
Add mesa_glinterop.h to the list of headers that will get included in the distfile as it is required to build Mesa itself. Corrects a regression introduced in a89faa2022fd995af2019c886b152b49a01f9392. Signed-off-by: Jonathan Gray --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 d

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #36 from Silvan Jegen --- (In reply to Marek Olšák from comment #35) > Well, it's unreal engine 3, so it doesn't surprise me that it compiles > shaders on demand. All UE3 games are affected in the same way. > > Possible solution 1: >

Re: [Mesa-dev] [PATCH] genxml: add generated headers to EXTRA_DIST

2016-10-16 Thread Jonathan Gray
On Sun, Oct 16, 2016 at 11:08:42PM +1100, Jonathan Gray wrote: > Building the Mesa 12.0.3 distfile failed on a system without python > as generated files were not included in the distfile. > > Cc: "12.0" > Signed-off-by: Jonathan Gray > --- > src/intel/Makefile.genxml.am | 4 > 1 file chan

Re: [Mesa-dev] [PATCH v2] egl/wayland: Avoid race conditions when on non-main thread

2016-10-16 Thread Daniel Stone
Hi Jonas, On 24 June 2016 at 03:46, Jonas Ådahl wrote: > @@ -74,9 +74,8 @@ roundtrip(struct dri2_egl_display *dri2_dpy) > struct wl_callback *callback; > int done = 0, ret = 0; > > - callback = wl_display_sync(dri2_dpy->wl_dpy); > + callback = wl_display_sync(dri2_dpy->wl_dpy_wrapper)

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #37 from Micael Bergeron --- The number of shaders is quite astonishing. Could using the r600 shader compiler LLVM (--enable-r600-llvm-compiler) fix this? As for the future, I think a persistent shader cache is probably the quickest

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 Timothee Besset changed: What|Removed |Added CC||tt...@ttimo.net -- You are receiving

Re: [Mesa-dev] [PATCH] egl/surfaceless: use correct index when accesing the visual

2016-10-16 Thread Chad Versace
On Sat 15 Oct 2016, Eric Engestrom wrote: > On Fri, Oct 14, 2016 at 09:42:00PM +0100, Emil Velikov wrote: > > From: Emil Velikov > > > > i is used for the driver_configs, while j is for the visuals. > > > > Fixes: 4b8a55809eb ("egl/surfaceless: tweak > > surfaceless_add_configs_for_visuals()")

[Mesa-dev] [Bug 98279] [vulkan/radeon] dota2 -vulkan hangs the GPU on R9-390

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98279 Bug ID: 98279 Summary: [vulkan/radeon] dota2 -vulkan hangs the GPU on R9-390 Product: Mesa Version: git Hardware: All OS: Linux (All) Status: NEW Severity

[Mesa-dev] [Bug 98279] [vulkan/radeon] dota2 -vulkan hangs the GPU on R9-390

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98279 Jan Ziak <0xe2.0x9a.0...@gmail.com> changed: What|Removed |Added CC||0xe2.0x9a.0...@gmail

Re: [Mesa-dev] [PATCH v4] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-16 Thread Matt Turner
On Sun, Oct 16, 2016 at 4:59 AM, Edward O'Callaghan wrote: > V2. add i965/hsw+ to list > V3. rebased on master. > V4. 'DONE' -> 'DONE ()'. > > Signed-off-by: Edward O'Callaghan > --- > docs/features.txt | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/d

[Mesa-dev] [Bug 98281] 'message's in ctx->Debug.LogMessages[] seem to leak.

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98281 Bug ID: 98281 Summary: 'message's in ctx->Debug.LogMessages[] seem to leak. Product: Mesa Version: 11.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [Mesa-dev] [PATCH 4/4] i965: Silence unused parameter warnings

2016-10-16 Thread Eric Engestrom
On Friday, 2016-10-14 19:26:38 -0700, Ian Romanick wrote: > On 10/14/2016 05:44 PM, Eric Engestrom wrote: > >> Subject: [PATCH 4/4] i965: Silence unused parameter warnings > > > > How about "remove unused parameters" instead? > > Silencing the warnings is nothing more than a side effect of this >

[Mesa-dev] [PATCH v5] doc/features.txt: factor out radeonsi as GL45 complete

2016-10-16 Thread Edward O'Callaghan
V2. add i965/hsw+ to list V3. rebased on master. V4. 'DONE' -> 'DONE ()'. V5. remove i965/hsw+ from list :/ Signed-off-by: Edward O'Callaghan --- docs/features.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 0

Re: [Mesa-dev] [PATCH] st/nine: Fix multisample limit check

2016-10-16 Thread Axel Davy
I've pushed this just now to be sure it makes it for mesa 13. On 16/10/2016 11:47, Axel Davy wrote: Fixes regression introduced by b5603056872708fdd82f1224854097805a01d4c0 The regression prevents some apps to start. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/adapter9.c | 2

[Mesa-dev] [Bug 98281] 'message's in ctx->Debug.LogMessages[] seem to leak.

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98281 --- Comment #1 from Edward O'Callaghan --- I believe this is actually a false positive.. The reasoning is that debug_message_store() builds up a ring of messages. -- You are receiving this mail because: You are the assignee for the bug. You are

[Mesa-dev] [Bug 98182] Consider setting ctx->Version to the selected version, not highest supported version

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98182 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH v5] doc/features.txt: factor out radeonsi as GL45 complete

2016-10-16 Thread Marek Olšák
Looks good to me. Marek On Sun, Oct 16, 2016 at 11:59 PM, Edward O'Callaghan wrote: > V2. add i965/hsw+ to list > V3. rebased on master. > V4. 'DONE' -> 'DONE ()'. > V5. remove i965/hsw+ from list :/ > > Signed-off-by: Edward O'Callaghan > --- > docs/features.txt | 18 +- > 1 f

[Mesa-dev] [PATCH] radv/pipeline: Don't dereference NULL dynamic state pointers

2016-10-16 Thread Darren Salt
This is a port of commit a4a59172482d50318a5ae7f99021bcf0125e0f53: Add guards to prevent dereferencing NULL dynamic pipeline state. Asserts of pCreateInfo members are moved to the earliest points at which they should not be NULL. This fixes a segfault, related to pColorBlendState, seen i

Re: [Mesa-dev] [PATCH] radv/pipeline: Don't dereference NULL dynamic state pointers

2016-10-16 Thread Edward O'Callaghan
Seems reasonable to me. Acked-by: Edward O'Callaghan On 10/17/2016 06:32 AM, Darren Salt wrote: > This is a port of commit a4a59172482d50318a5ae7f99021bcf0125e0f53: > >Add guards to prevent dereferencing NULL dynamic pipeline state. Asserts >of pCreateInfo members are moved to the earli

[Mesa-dev] [PATCH 06/11] anv: drop local MIN/MAX macros.

2016-10-16 Thread Dave Airlie
From: Dave Airlie Use the ones from mesa, most places already did. Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_image.c | 2 +- src/intel/vulkan/anv_private.h | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_

[Mesa-dev] [PATCH 03/11] radv: make use of shared vector helper.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This removes the vector code from radv in favour of sharing code with anv. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 53 src/amd/vulkan/radv_util.c| 74 --- src/amd/vulkan/radv_w

[Mesa-dev] some common refactoring for vulkan drivers

2016-10-16 Thread Dave Airlie
This refactors out some common pieces of code from the vulkan drivers, and is a precursor for a series where I move the WSI code to being shared between both drivers for consistency. It would be nice to land this stuff soon as it's mostly pretty trivial, but the vk_alloc changes are messy to const

[Mesa-dev] [PATCH 02/11] anv: port to using new u_vector shared helper.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This just removes the anv vector code and uses the new helper. Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_allocator.c | 8 ++-- src/intel/vulkan/anv_batch_chain.c | 40 ++-- src/intel/vulkan/anv_private.h | 52 ++ src/in

[Mesa-dev] [PATCH 09/11] radv: move to using shared vk_alloc inlines.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This moves to the shared vk_alloc inlines for vulkan memory allocations. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_cmd_buffer.c | 14 +-- src/amd/vulkan/radv_descriptor_set.c | 28 ++--- src/amd/vulkan/radv_device.c | 38 ++

[Mesa-dev] [PATCH 01/11] util: add vector util code.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This is ported from anv, both anv and radv can share this. Signed-off-by: Dave Airlie --- src/util/Makefile.sources | 4 +- src/util/u_vector.c | 98 +++ src/util/u_vector.h | 91

[Mesa-dev] [PATCH 11/11] anv: drop pointless struct decl.

2016-10-16 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_private.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 19bda72..46c4820 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_priv

[Mesa-dev] [PATCH 05/11] radv: drop local MIN/MAX macros.

2016-10-16 Thread Dave Airlie
From: Dave Airlie Use the ones in macros.h instead. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_descriptor_set.c | 2 +- src/amd/vulkan/radv_private.h | 5 + src/amd/vulkan/radv_wsi_x11.c | 2 +- src/amd/vulkan/winsys/amdgpu/ra

[Mesa-dev] [PATCH 04/11] util: move min/max/clamp macros to util macros.h

2016-10-16 Thread Dave Airlie
From: Dave Airlie Although the vulkan drivers include mesa macros.h, for radv I'd like to move away from that. Signed-off-by: Dave Airlie --- src/mesa/main/macros.h | 13 - src/util/macros.h | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/s

[Mesa-dev] [PATCH 10/11] radv: drop pointless struct decl.

2016-10-16 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index a4e09bb..772037a 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h

[Mesa-dev] [PATCH 08/11] anv: move to using vk_alloc helpers.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This moves all the alloc/free in anv to the generic helpers. Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_batch_chain.c| 40 +++--- src/intel/vulkan/anv_cmd_buffer.c | 22 - src/intel/vulkan/anv_descriptor_set.c | 12

[Mesa-dev] [PATCH 07/11] vulkan: add vk_alloc.h shared allocation inlines.

2016-10-16 Thread Dave Airlie
From: Dave Airlie vulkan allocation allows for overriding the allocator used, add some macros for anv/radv to share for this. Signed-off-by: Dave Airlie --- configure.ac | 5 ++- src/Makefile.am | 4 +++ src/vulkan/Makefile.am | 26 +++ src/vulk

Re: [Mesa-dev] some common refactoring for vulkan drivers

2016-10-16 Thread Edward O'Callaghan
This series is, Reviewed-by: Edward O'Callaghan On 10/17/2016 01:07 PM, Dave Airlie wrote: > This refactors out some common pieces of code from the > vulkan drivers, and is a precursor for a series where I move > the WSI code to being shared between both drivers for consistency. > > It would be

[Mesa-dev] anv/radv: WSI sharing code

2016-10-16 Thread Dave Airlie
This series builds on top of the previous sharing patches I sent. The aim here is to share the X11 and wayland WSI code between the two vulkan drivers so we have a consistent implementation and one place to fix bugs. The series modifies the anv code in place until it's suitable for sharing, then

[Mesa-dev] [PATCH 01/22] radv/anv/wsi: drop uneeded parameter

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/amd/vulkan/radv_wsi.c | 2 +- src/amd/vulkan/radv_wsi.h | 1 - src/amd/vulkan/radv_wsi_wayland.c | 1 - src/amd/vulkan/radv_wsi_x11.c | 1 - src/intel/vulkan/anv_wsi.c | 2 +- src/intel/vulkan/anv_wsi.h | 1 - src/intel/vulkan/anv

[Mesa-dev] [Bug 98271] [radeonsi]Playing videos with vdpau or vaapi hardware acceleration crashes my pc

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98271 --- Comment #1 from John --- I may have the same problem, and I know how to trigger it *easily*: When watching videos with mpv using vdpau's output, if I quickly go and back forth in the video, eventually the system will freeze, go blank, and I

[Mesa-dev] [PATCH 08/22] anv/wsi: remove device from get_support interface

2016-10-16 Thread Dave Airlie
From: Dave Airlie replace with wsi_device and allocator. --- src/intel/vulkan/anv_wsi.c | 4 +++- src/intel/vulkan/anv_wsi.h | 3 ++- src/intel/vulkan/anv_wsi_wayland.c | 3 ++- src/intel/vulkan/anv_wsi_x11.c | 5 +++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff

[Mesa-dev] [PATCH 04/22] anv/wsi/x11: push device out of x11 connection fns.

2016-10-16 Thread Dave Airlie
From: Dave Airlie just pass the allocator/wsi_interface instead. --- src/intel/vulkan/anv_wsi_x11.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c index fce3451..3c9d4bd 100644 --- a/sr

[Mesa-dev] [PATCH 17/22] anv/wsi/wayland: add callback to get device format properties.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This avoids having to know the toplevel API name. --- src/intel/vulkan/anv_wsi.c | 8 +++- src/intel/vulkan/anv_wsi.h | 9 - src/intel/vulkan/anv_wsi_wayland.c | 17 - 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/

[Mesa-dev] [PATCH 09/22] anv/wsi: drop device from get format

2016-10-16 Thread Dave Airlie
From: Dave Airlie Just use the wsi_device instead. --- src/intel/vulkan/anv_wsi.c | 2 +- src/intel/vulkan/anv_wsi.h | 2 +- src/intel/vulkan/anv_wsi_wayland.c | 4 ++-- src/intel/vulkan/anv_wsi_x11.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/

[Mesa-dev] [PATCH 02/22] anv/wsi: drop get present modes device arg

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 2 +- src/intel/vulkan/anv_wsi.h | 1 - src/intel/vulkan/anv_wsi_wayland.c | 1 - src/intel/vulkan/anv_wsi_x11.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulk

[Mesa-dev] [PATCH 06/22] anv/wsi/x11: push anv_device out of the init/finish routines

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 6 +++--- src/intel/vulkan/anv_wsi.h | 6 -- src/intel/vulkan/anv_wsi_x11.c | 22 -- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index

[Mesa-dev] [PATCH 16/22] anv/wsi/wl: stop using device in more places

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 5 +++-- src/intel/vulkan/anv_wsi.h | 7 +-- src/intel/vulkan/anv_wsi_wayland.c | 36 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/intel/vulkan/anv_wsi.c b/src/in

[Mesa-dev] [PATCH 07/22] anv/wsi/x11: abstract WSI interface from internals.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This allows the API and the internals to be split, and the internals shared. --- src/intel/vulkan/anv_wsi_x11.c | 33 - 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c

[Mesa-dev] [PATCH 12/22] anv/wsi: switch to using VkDevice in swapchain

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 2 +- src/intel/vulkan/anv_wsi.h | 2 +- src/intel/vulkan/anv_wsi_wayland.c | 15 --- src/intel/vulkan/anv_wsi_x11.c | 9 - 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/intel/vul

[Mesa-dev] [PATCH 14/22] anv/wsi: move further away from passing anv displays around

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 28 +++- src/intel/vulkan/anv_wsi.h | 3 ++- src/intel/vulkan/anv_wsi_wayland.c | 21 +++-- src/intel/vulkan/anv_wsi_x11.c | 22 +++--- 4 files changed, 35 insertions(+

[Mesa-dev] [PATCH 03/22] anv/wsi: drop device from get caps

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi.c | 2 +- src/intel/vulkan/anv_wsi.h | 1 - src/intel/vulkan/anv_wsi_wayland.c | 1 - src/intel/vulkan/anv_wsi_x11.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulk

[Mesa-dev] [PATCH 05/22] anv/wsi: abstract wsi interfaces away from device a bit more.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This is a step towards separating out the wsi code for sharing --- src/intel/vulkan/anv_private.h | 6 +- src/intel/vulkan/anv_wsi.c | 12 ++-- src/intel/vulkan/anv_wsi_wayland.c | 16 src/intel/vulkan/anv_wsi_x11.c | 18 +--

[Mesa-dev] [PATCH 10/22] anv/wsi/x11: start refactoring out the image allocation/free functionality

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi_x11.c | 74 +- 1 file changed, 52 insertions(+), 22 deletions(-) diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c index 1a8058f..bf6329c 100644 --- a/src/intel/vulkan/anv_wsi_x11.c

[Mesa-dev] [PATCH 13/22] anv/wsi: split image alloc/free out to separate fns.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This moves these outside the wsi platform code, so we can reuse that code --- src/intel/vulkan/anv_wsi.c | 121 +++- src/intel/vulkan/anv_wsi.h | 19 - src/intel/vulkan/anv_wsi_wayland.c | 120 +++- sr

[Mesa-dev] [PATCH 22/22] radv: port to common wsi codebase

2016-10-16 Thread Dave Airlie
From: Dave Airlie This drops all the radv WSI code in favour of using the new shared code that was ported from anv --- src/amd/vulkan/Makefile.am| 2 + src/amd/vulkan/Makefile.sources | 1 - src/amd/vulkan/radv_private.h | 5 +- src/amd/vulkan/radv_wsi.c | 176 +--

[Mesa-dev] [PATCH 19/22] anv/wsi: remove all anv references from WSI common code

2016-10-16 Thread Dave Airlie
From: Dave Airlie the WSI code should be now be clean for sharing. --- src/intel/vulkan/Makefile.sources | 1 - src/intel/vulkan/anv_private.h| 2 +- src/intel/vulkan/anv_wsi.c| 41 +- src/intel/vulkan/anv_wsi.h| 50 -- sr

[Mesa-dev] [PATCH 15/22] anv/wsi: split out surface creation to avoid instance API

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi_wayland.c | 34 +++--- src/intel/vulkan/anv_wsi_x11.c | 59 ++ 2 files changed, 64 insertions(+), 29 deletions(-) diff --git a/src/intel/vulkan/anv_wsi_wayland.c b/src/intel/vulkan/anv_wsi_wa

[Mesa-dev] [PATCH 21/22] wsi: swap srgb/unorm around.

2016-10-16 Thread Dave Airlie
From: Dave Airlie This prevents a Talos regression before radv starts using shared WSI. --- src/vulkan/wsi/wsi_common_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index b5832c6..241ef42 100644 --- a/sr

[Mesa-dev] [PATCH 11/22] anv/wsi/x11: more refactoring to use generic handles

2016-10-16 Thread Dave Airlie
From: Dave Airlie --- src/intel/vulkan/anv_wsi_x11.c | 70 ++ 1 file changed, 43 insertions(+), 27 deletions(-) diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c index bf6329c..06f0566 100644 --- a/src/intel/vulkan/anv_wsi_x11.c

Re: [Mesa-dev] [PATCH 09/10] st/vdpau: implement the new DMA-buf based interop

2016-10-16 Thread Ilia Mirkin
On Thu, Sep 15, 2016 at 4:54 PM, Marek Olšák wrote: > On Thu, Sep 15, 2016 at 5:14 AM, Dave Airlie wrote: >> On 15 September 2016 at 13:03, Ilia Mirkin wrote: >>> On Wed, Sep 14, 2016 at 10:15 PM, Michel Dänzer wrote: > No, the current impl is pretty radeon-specific (note - it doesn't work

[Mesa-dev] [Bug 98242] dEQP mandates preprocessor tests for #line expressions and define defined

2016-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 --- Comment #4 from Tapani Pälli --- It seems Mesa already supports such expressions for #define's, I wonder if same functionality could be hooked up to parse #line .. just a thought -- You are receiving this mail because: You are the assignee

[Mesa-dev] [PATCH] egl/android: fix error in droid_add_configs_for_visuals()

2016-10-16 Thread Tapani Pälli
This was some kind of leftover in commit acd35c8 and format_count array variable (declared in outer scope) should be used instead. Signed-off-by: Tapani Pälli --- src/egl/drivers/dri2/platform_android.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/egl/drivers/dri2/platform_android.c