[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 --- Comment #2 from bugzilla.i...@spamgourmet.com --- Created attachment 134328 --> https://bugs.freedesktop.org/attachment.cgi?id=134328&action=edit Full trace This is my first time working with apitrace, so I am unsure of how to trim the fil

Re: [Mesa-dev] [Mesa-maintainers] Building Mesa GIT with LLVM prior to 3.9

2017-09-19 Thread Stefan Dirsch
On Mon, Sep 18, 2017 at 05:00:07PM +0100, Emil Velikov wrote: > As you may know, different components in Mesa use LLVM for various purposes. > > In particular: > - 3.3.0 for the aux gallium module, gallivm > - 3.6.0 for the opencl state-tracker, clover > - 3.9.0 for multiple drivers r600, radeo

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 Alex Granni changed: What|Removed |Added Summary|swr: GPU Caps Viewer|swr: 32-bit binaries crash

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 --- Comment #6 from Alex Granni --- I was able to replicate this crash with PPSSPP too. It crashes right away I could try Aida64 engineer and ePSXe, but something tells me they both would crash the same way. Probably 32-bit OpenSWR should be har

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 --- Comment #7 from Alex Granni --- PPSSPP 64-bit only crashes on exit. But that's probably something else. -- 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 v2 1/2] etnaviv: fix varying interpolation

2017-09-19 Thread Philipp Zabel
On Fri, 2017-09-15 at 18:04 +0200, Lucas Stach wrote: > It seems that newer cores don't use the PA_ATTRIBUTES to decide if the > varying should bypass the flat shading, but derive this from the > component > use. This fixes flat shading on GC880+. > > VARYING_COMPONENT_USE_POINTCOORD is a bit of a

[Mesa-dev] [Bug 53572] scons: *** Two environments with different actions were specified for the same target: mesa/src/glsl/glcpp/pp.o

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53572 Alex Granni changed: What|Removed |Added CC||liviupro...@yahoo.com -- You are receivin

Re: [Mesa-dev] [PATCH 2/2] i965: Fix brw_finish_batch to grow the batchbuffer.

2017-09-19 Thread Chris Wilson
Quoting Kenneth Graunke (2017-09-18 21:44:57) > On Monday, September 18, 2017 11:14:35 AM PDT Chris Wilson wrote: > > Quoting Kenneth Graunke (2017-09-18 18:56:57) > > > brw_finish_batch emits commands needed at the end of every batch buffer, > > > including any workarounds. In the past, we freed

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 Bug ID: 102852 Summary: Scons: Support the new Scons 3.0.0 Product: Mesa Version: unspecified Hardware: All OS: All Status: NEW Severity: normal

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 Alex Granni changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Mesa-dev] [Bug 100202] llvmpipe Windows scons build can't detect Visual Studio 2017 toolchain

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100202 Alex Granni changed: What|Removed |Added See Also||https://bugs.freedesktop.or

Re: [Mesa-dev] [PATCH 1/2] i965: Move MI_BATCHBUFFER_END handling into brw_finish_batch().

2017-09-19 Thread Chris Wilson
Quoting Kenneth Graunke (2017-09-18 21:38:09) > On Monday, September 18, 2017 11:03:37 AM PDT Chris Wilson wrote: > > Tangential: Do we care about intel_upload_finish on batch flush any more > > now that async access is universal? > > I'm not sure. We could certainly enable async maps for the upl

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Grazvydas Ignotas
On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: > On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas wrote: >> On some platforms, gcc generates library calls when __atomic_* functions >> are used, but does not link the required library automatically. Detect >> this and add the library when

Re: [Mesa-dev] [PATCH 2/2] i965: Fix brw_finish_batch to grow the batchbuffer.

2017-09-19 Thread Chris Wilson
Quoting Chris Wilson (2017-09-19 09:38:54) > Quoting Kenneth Graunke (2017-09-18 21:44:57) > > On Monday, September 18, 2017 11:14:35 AM PDT Chris Wilson wrote: > > > Quoting Kenneth Graunke (2017-09-18 18:56:57) > > > > @@ -904,13 +914,6 @@ _intel_batchbuffer_flush_fence(struct brw_context > > >

Re: [Mesa-dev] [PATCH v2 1/2] etnaviv: fix varying interpolation

2017-09-19 Thread Lucas Stach
Am Dienstag, den 19.09.2017, 10:30 +0200 schrieb Philipp Zabel: > On Fri, 2017-09-15 at 18:04 +0200, Lucas Stach wrote: > > It seems that newer cores don't use the PA_ATTRIBUTES to decide if the > > varying should bypass the flat shading, but derive this from the > > component > > use. This fixes f

[Mesa-dev] [PATCH mesa] amdgpu/addrlib: add missing va_end() after va_copy()

2017-09-19 Thread Eric Engestrom
According to the man page: > Each invocation of va_copy() must be matched by a corresponding > invocation of va_end() in the same function. Spotted by Coverity. CID: 1418113 Fixes: e7fc664b91a5d886c270 "winsys/amdgpu: add addrlib - texture addressing and alignment cal

Re: [Mesa-dev] [PATCH v2] glsl: buffer variables can be readonly and writeonly

2017-09-19 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 09/18/2017 05:56 PM, Juan A. Suarez Romero wrote: In GLSL ES 3.10 session 4.9 [Memory Access Qualifiers], it has the following description: "A variable could be qualified as both readonly and writeonly, disallowing both read and write, but still be passed to i

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 --- Comment #1 from Eric Engestrom --- This feels like a python2 vs python3 compatibility issue (`print 'foo'` instead of `printf('foo')`). Can you set your environment to use python2? I expect that will solve the issue. -- You are receiving t

[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102847 --- Comment #1 from Eric Engestrom --- Confirmed, hitting the same issue on git. Bisecting now. -- 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] i965: Don't reset aux_state on buffers without modifiers

2017-09-19 Thread Mark Janes
https://bugs.freedesktop.org/show_bug.cgi?id=102856 Tested-by: Mark Janes Jason Ekstrand writes: > On gen7-8 where we use CCS_D, we were setting AUX_STATE_AUX_INVALID > because that's the obvious aux state when there is no modifier. > However, this doesn't work because that aux state isn't com

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 --- Comment #3 from Tapani Pälli --- on i965 driver there is no 'flashing' (tested on KBL), this is probably amd/gallium bug -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug._

[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102847 --- Comment #2 from Eric Engestrom --- (In reply to Eric Engestrom from comment #1) > Confirmed, hitting the same issue on git. > Bisecting now. Hmm... bisecting failed, the build is always passing now? It might have just needed a clean build.

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 --- Comment #2 from Alex Granni --- I always used Python 2.7. I always knew Mesa3D Scons build isn't Python 3 compatible. So there is a push towards Python 3 by Scons 3.0 apparently. -- You are receiving this mail because: You are the assignee

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: > On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: >> On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas >> wrote: >>> On some platforms, gcc generates library calls when __atomic_* functions >>> are used, but does not link the requir

[Mesa-dev] [Bug 101655] Explicit sync support for android

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101655 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 102318] Mesa3D Scons build - LLVM 5.0 not supported

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102318 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [Mesa-stable] [PATCH] Scons: LLVM 5.0 support

2017-09-19 Thread Emil Velikov
Alexandru-Liviu Please use email client which does not mangle with the email contents. Things were bit messy here, so I had to redo the whole patch. Personally I use git send-email, since it can generate the patches and send them in one go ;-) Thanks Emil

[Mesa-dev] [PATCH v3 0/2] build system: Unify c++11 detection and used [was: configure+mesa/st:check -std=c++11 support and enable tests accordingly]

2017-09-19 Thread Gert Wollny
Was: configure+mesa/st: As Emil pointed out, adding a test for C++11 for only one test is not very nice, and since swr and clover already did distinct checks for this, I propose to unify these tests and base compilation and running the mesa/st/tests one the same test. The second patch then

[Mesa-dev] [PATCH v3 1/2] configure+mesa/st: unify check for -std=c++11 support and enable accordingly

2017-09-19 Thread Gert Wollny
Unify the CXX feature tests for C++11 support that is required for SWR, clover, and mesa/st/tests. Instead of using a custom made test (SWR) or testing for the gcc version (clover), use ax_cxx_compile_stdcxx.m4, modified to return the CXX flags used to enable c++11, to test for C++11 support and a

[Mesa-dev] [PATCH v3 2/2] travis: Add test for gcc-4.4 compiler tool chain

2017-09-19 Thread Gert Wollny
Add a build check for g++-4.4 which is the oldest gcc based compiler directly supported in ubuntu/trusty, and one of the compilers that don't have full c++11 support, i.e. it doesn't understand -std=c++11. Since llvm >= 3.9 propagates -std=c++11 in the LLVM_CXXFLAGS, an older llvm version is requi

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Grazvydas Ignotas
On Tue, Sep 19, 2017 at 2:04 PM, Emil Velikov wrote: > On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: >> On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: >>> On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas >>> wrote: On some platforms, gcc generates library calls when __a

[Mesa-dev] [Bug 102847] swr fail to build with llvm-5.0.0

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102847 --- Comment #3 from Eric Engestrom --- (In reply to Eric Engestrom from comment #2) > I'm assuming you were building the arch pkgbuild in a clean chroot? > If not, can you try that? Just tested a clean build with the current PKGBUILD (1234495e9

[Mesa-dev] [PATCH 1/2] i965: Fix duplication of DRI images

2017-09-19 Thread Daniel Stone
From: Louis-Francis Ratté-Boulianne Some DRI image properties weren't properly duplicated in the new image. Some properties are still missing, but I'm not certain if there was a good reason to let them out in the first place. Signed-off-by: Louis-Francis Ratté-Boulianne Reviewed-by: Daniel Ston

[Mesa-dev] [PATCH 2/2] i965: Only set planar_format if it's actually one

2017-09-19 Thread Daniel Stone
From: Louis-Francis Ratté-Boulianne The planar_format image property was always set even for non-planar formats. This was breaking CCS support as intel_from_planar is now making sure we can't have both a modifier and an planar format. Signed-off-by: Louis-Francis Ratté-Boulianne Reviewed-by: Da

Re: [Mesa-dev] [PATCH mesa 2/2] radv: replace conditional compilation with MAYBE_UNUSED

2017-09-19 Thread Emil Velikov
On 18 September 2017 at 18:15, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > src/amd/vulkan/radv_wsi.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c > index 8a551c48bb..c9d4bbce8b 100644 > --- a

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 17:01, Jason Ekstrand wrote: In order to get support everywhere, this gets a bit complicated. On Sky Lake and later, everything is fine because HALIGN/VALIGN are specified in surface elements and are required to be at least 4 so any offsetting we may need to do falls neatly within th

Re: [Mesa-dev] [PATCH 09/12] intel/blorp: Internally expose surf_convert_to_uncompressed

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/blorp/blorp_blit.c | 29 - src/intel/blorp/blorp_priv.h | 5 + 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blo

Re: [Mesa-dev] [PATCH 10/12] intel/blorp: Handle clearing compressed surfaces

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/blorp/blorp_clear.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 0feebef..e8b1e32 100644

[Mesa-dev] [PATCH mesa 3/6] scons: use python3-compatible lists

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- SConstruct | 3 +-- scons/custom.py | 8 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/SConstruct b/SConstruct index 0215aa83073f120fe9df..a59a8ea210e956bb67de 100644 --- a/SConstruct +++ b/SConstruct @@ -152,8 +152,7 @@ try: excep

[Mesa-dev] [PATCH mesa 2/6] scons: use python3-compatible list-key check

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/gallium.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index db7764544145accaacf9..9772eb32bf271de6f358 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -193,15 +193,15 @@ def gen

[Mesa-dev] [PATCH mesa 5/6] scons: use python3-compatible exceptions

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/crossmingw.py | 2 +- scons/dxsdk.py | 2 +- scons/llvm.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scons/crossmingw.py b/scons/crossmingw.py index 34129450a56cdf14d8da..609cd00418e4ce9e8f1d 100644 --- a/scons/cros

[Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/custom.py b/scons/custom.py index 0767ba936d410167116d..978ee5f9ec7c23a74cb9 100644 --- a/scons/custom.py +++ b/scons/custom.py @@ -257,7 +257,7 @@ def parse_source_list(env

[Mesa-dev] [PATCH mesa 4/6] scons: use python3-compatible maps

2017-09-19 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/gallium/drivers/swr/SConscript | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index fdced66463c912048e04..3b624ceccad4fc8bade2 100644 --- a/src/gallium/drivers

[Mesa-dev] [PATCH mesa 1/6] scons: use python3-compatible print()

2017-09-19 Thread Eric Engestrom
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102852 Reported-by: Alex Granni Signed-off-by: Eric Engestrom --- SConstruct | 8 scons/gallium.py| 22 +++--- scons/llvm.py | 16 ++

Re: [Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Ilia Mirkin
This might be python3-compatible, but it's not the same thing. str != unicode. Not sure where "names" can come from, but if it can come in as a unicode string, this won't work. On Tue, Sep 19, 2017 at 10:14 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > scons/custom.py | 2 +-

Re: [Mesa-dev] [PATCH 04/15] vulkan: enum generator: make registry more flexible

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 22:27, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> wrote: It will be used to store extension numbers as well. Signed-off-by: Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> ---  src/vulkan

Re: [Mesa-dev] [PATCH 06/15] vulkan: util: add macros to extract extension/offset number from enums

2017-09-19 Thread Lionel Landwerlin
On 15/09/17 22:34, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> wrote: Signed-off-by: Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> ---  src/vulkan/util/vk_util.h | 7 +++  1 file changed, 7 insert

Re: [Mesa-dev] Building Mesa GIT with LLVM prior to 3.9

2017-09-19 Thread Vedran Miletić
On 09/18/2017 06:00 PM, Emil Velikov wrote: > Hi all, > > As you may know, different components in Mesa use LLVM for various purposes. > > In particular: > - 3.3.0 for the aux gallium module, gallivm > - 3.6.0 for the opencl state-tracker, clover > - 3.9.0 for multiple drivers r600, radeonsi,

Re: [Mesa-dev] [PATCH 1/3] etnaviv: support tile aligned RS blits

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:00:52PM +0200, Lucas Stach wrote: > The RS can blit abitrary tile aligned subregions of a resource by > adjusting the buffer offset. Thanks for doing this. Comments inline, > Signed-off-by: Lucas Stach > --- > src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 75 >

Re: [Mesa-dev] [PATCH 2/3] etnaviv: add resource subregion copy

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:00:53PM +0200, Lucas Stach wrote: > This is useful if we only need to copy part of a larger resource, mostly > when using the RS engine to de-/tile on pipe transfers. > > Signed-off-by: Lucas Stach Reviewed-by: Wladimir J. van der Laan > --- > src/gallium/drivers/et

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 --- Comment #4 from bugzilla.i...@spamgourmet.com --- Is there anything that I can do to help? -- 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 v2 2/2] etnaviv: remove flat shading workaround

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:04:50PM +0200, Lucas Stach wrote: > It turned out not to be a hardware bug, but the shader compiler > emitting wrong varying component use information. With that fixed > we can turn flat shading back on. > > Signed-off-by: Lucas Stach > Reviewed-by: Philipp Zabel Revi

Re: [Mesa-dev] [PATCH v2 1/2] etnaviv: fix varying interpolation

2017-09-19 Thread Wladimir J. van der Laan
On Fri, Sep 15, 2017 at 06:04:49PM +0200, Lucas Stach wrote: > It seems that newer cores don't use the PA_ATTRIBUTES to decide if the > varying should bypass the flat shading, but derive this from the component > use. This fixes flat shading on GC880+. > > VARYING_COMPONENT_USE_POINTCOORD is a bit

Re: [Mesa-dev] [PATCH 1/2] util: Link libmesautil into u_atomic_test

2017-09-19 Thread Juan A. Suarez Romero
On Fri, 2017-09-15 at 14:48 +0100, Emil Velikov wrote: > eOn 14 September 2017 at 20:07, Matt Turner wrote: > > Platforms without particular atomic operations require the > > implementations in u_atomic.c > > Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where > they're missing") > Re

Re: [Mesa-dev] [PATCH 14/15] anv: enable multiple planes per image/imageView

2017-09-19 Thread Lionel Landwerlin
On 16/09/17 00:06, Jason Ekstrand wrote: On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin mailto:lionel.g.landwer...@intel.com>> wrote: This change introduce the concept of planes for image & views. It matches the planes available in new formats. We also refactor depth & sten

Re: [Mesa-dev] [PATCH 05/12] anv/image: Add support for the VkImageViewUsageCreateInfoKHR struct

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/vulkan/anv_image.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 63e507a..202becc 100644 ---

Re: [Mesa-dev] [PATCH 01/12] anv/image: Add support for the new depth/stencil layouts

2017-09-19 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/vulkan/anv_image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 492b341..63e507a 100644 --- a/src/intel/vulkan/anv_image.c +++ b/sr

Re: [Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-19 Thread Eric Engestrom
On Tuesday, 2017-09-19 10:20:34 -0400, Ilia Mirkin wrote: > This might be python3-compatible, but it's not the same thing. str != > unicode. Not sure where "names" can come from, but if it can come in > as a unicode string, this won't work. Thanks, this was the patch I was the least-sure about. Dr

Re: [Mesa-dev] [PATCH 2/2] util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

2017-09-19 Thread Juan A. Suarez Romero
On Fri, 2017-09-15 at 14:58 +0100, Emil Velikov wrote: > On 14 September 2017 at 20:07, Matt Turner wrote: > > Needed for 32-bit PowerPC. > > I hope GCC/Clang will get smart enough and provide these for all > architectures. > Be that via built-ins or automatically pulling it's appropriate aux li

Re: [Mesa-dev] [PATCH 1/2] util: Link libmesautil into u_atomic_test

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 15:37, Juan A. Suarez Romero wrote: > On Fri, 2017-09-15 at 14:48 +0100, Emil Velikov wrote: >> eOn 14 September 2017 at 20:07, Matt Turner wrote: >> > Platforms without particular atomic operations require the >> > implementations in u_atomic.c >> >> Fixes: a6a38a038bd ("

Re: [Mesa-dev] [PATCH mesa 4/6] scons: use python3-compatible maps

2017-09-19 Thread Ilia Mirkin
On Tue, Sep 19, 2017 at 10:14 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > src/gallium/drivers/swr/SConscript | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/src/gallium/drivers/swr/SConscript > b/src/gallium/drivers/swr/SConscript > index fdc

[Mesa-dev] [Bug 102809] Rust shadows(?) flash random colours

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102809 Alex Deucher changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

[Mesa-dev] [PATCH 1/2] vulkan: automake: add vk_android_native_buffer.h in EXTRA_DIST

2017-09-19 Thread Juan A. Suarez Romero
Fixes: CCLD libvulkan_wsi.la ar: `u' modifier ignored since `D' is the default (see `U') ../../../../src/vulkan/util/vk_enum_to_str.c:26:45: fatal error: vulkan/vk_android_native_buffer.h: No such file or directory compilation terminated. make[5]: *** [util/vk_enum_to_str.lo] Error 1 When r

[Mesa-dev] [PATCH 2/2] intel: automake: add isl_genX_priv.h in EXTRA_DIST

2017-09-19 Thread Juan A. Suarez Romero
Fixes: CC isl/isl_format_layout.lo In file included from ../../../../src/intel/isl/isl_storage_image.c:24:0: ../../../../src/intel/isl/isl_priv.h:170:29: fatal error: isl_genX_priv.h: No such file or directory compilation terminated. Makefile:2936: recipe for target 'isl/isl_storage_image.l

Re: [Mesa-dev] [PATCH 1/2] vulkan: automake: add vk_android_native_buffer.h in EXTRA_DIST

2017-09-19 Thread Emil Velikov
Heh, I wrote the exact same files literally 6 minutes ago. For the series Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 2/2] intel: automake: add isl_genX_priv.h in EXTRA_DIST

2017-09-19 Thread Emil Velikov
s/in EXTRA_DIST/the sources list/ ... to reflect reality. Either way r-b still stands. -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 1/2] etnaviv: move sw get_driver_query_info(..)

2017-09-19 Thread Christian Gmeiner
This change makes etna_get_driver_query_info(..) more generic and puts the knowledge of supported queries directly besides the implementation. Signed-off-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_query.c| 15 +++ src/gallium/drivers/etnaviv/etnaviv_query_sw.c

[Mesa-dev] [PATCH 2/2] etnaviv: move sw query defines to etnaviv_query_sw.h

2017-09-19 Thread Christian Gmeiner
Also add new define ETNA_SW_QUERY_BASE. Signed-off-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_query.h| 3 +-- src/gallium/drivers/etnaviv/etnaviv_query_sw.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_query.h

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2017-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 --- Comment #8 from George Kyriazis --- Regarding PPSSPP 64-bit, please file a separate bug. However, please note these games (or game emulators) are not our current focus. -- You are receiving this mail because: You are the QA Contact for th

Re: [Mesa-dev] Building Mesa GIT with LLVM prior to 3.9

2017-09-19 Thread Aaron Watry
On Tue, Sep 19, 2017 at 9:23 AM, Vedran Miletić wrote: > On 09/18/2017 06:00 PM, Emil Velikov wrote: >> Hi all, >> >> As you may know, different components in Mesa use LLVM for various purposes. >> >> In particular: >> - 3.3.0 for the aux gallium module, gallivm >> - 3.6.0 for the opencl state-t

Re: [Mesa-dev] [PATCH 1/2] etnaviv: move sw get_driver_query_info(..)

2017-09-19 Thread Wladimir J. van der Laan
On Tue, Sep 19, 2017 at 06:16:04PM +0200, Christian Gmeiner wrote: > This change makes etna_get_driver_query_info(..) more generic > and puts the knowledge of supported queries directly besides > the implementation. > > Signed-off-by: Christian Gmeiner Reviewed-by: Wladimir J. van der Laan > -

Re: [Mesa-dev] [PATCH 2/2] etnaviv: move sw query defines to etnaviv_query_sw.h

2017-09-19 Thread Wladimir J. van der Laan
On Tue, Sep 19, 2017 at 06:16:05PM +0200, Christian Gmeiner wrote: > Also add new define ETNA_SW_QUERY_BASE. > > Signed-off-by: Christian Gmeiner Reviewed-by: Wladimir J. van der Laan > --- > src/gallium/drivers/etnaviv/etnaviv_query.h| 3 +-- > src/gallium/drivers/etnaviv/etnaviv_query_

Re: [Mesa-dev] [PATCH v4 1/1] clover: Wait for requested operation if blocking flag is set

2017-09-19 Thread Aaron Watry
On Fri, Sep 15, 2017 at 8:46 PM, Jan Vesely wrote: > On Thu, 2017-09-14 at 14:39 -0700, Francisco Jerez wrote: >> Jan Vesely writes: >> >> > On Mon, 2017-09-04 at 13:23 -0700, Francisco Jerez wrote: >> > > Jan Vesely writes: >> > > >> > > > v2: wait in map_buffer and map_image as well >> > > > v

Re: [Mesa-dev] [PATCH 1/2] configure: check if -latomic is needed for __atomic_*

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 13:01, Grazvydas Ignotas wrote: > On Tue, Sep 19, 2017 at 2:04 PM, Emil Velikov > wrote: >> On 19 September 2017 at 10:12, Grazvydas Ignotas wrote: >>> On Mon, Sep 18, 2017 at 11:30 PM, Matt Turner wrote: On Mon, Sep 18, 2017 at 12:28 PM, Grazvydas Ignotas w

[Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Emil Velikov
From: Emil Velikov In order to build EGL, one has to use shared glapi - libglapi.so. Thus the dlopen/dlsym dance is no longer needed and we can link to the library directly. This allows us to remove a handful of platform specific names of the library. Cc: Jonathan Gray Cc: Jon Turney Cc: Jul

Re: [Mesa-dev] [PATCH 2/2] util/u_atomic: Add implementation of __sync_val_compare_and_swap_8

2017-09-19 Thread Matt Turner
On Tue, Sep 19, 2017 at 7:47 AM, Juan A. Suarez Romero wrote: > On Fri, 2017-09-15 at 14:58 +0100, Emil Velikov wrote: >> On 14 September 2017 at 20:07, Matt Turner wrote: >> > Needed for 32-bit PowerPC. >> >> I hope GCC/Clang will get smart enough and provide these for all >> architectures. >>

Re: [Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Rob Herring
On Tue, Sep 19, 2017 at 12:19 PM, Emil Velikov wrote: > From: Emil Velikov > > In order to build EGL, one has to use shared glapi - libglapi.so. > > Thus the dlopen/dlsym dance is no longer needed and we can link to the > library directly. > > This allows us to remove a handful of platform specif

[Mesa-dev] [PATCH 2/5] gallium: Weaken assertion about u_mm's align2 field.

2017-09-19 Thread Eric Anholt
vc5 MMU mappings are access-controlled at a 128kb boundary, so the 4kb here was too small for that purpose. Allowing any valid align2 value that u_mm's 32-bit addressing can represent will still catch most cases of people passing in a byte alignment. --- src/gallium/auxiliary/util/u_mm.c | 5

[Mesa-dev] [PATCH 4/5] nir: Move vc4's alpha test lowering to core NIR.

2017-09-19 Thread Eric Anholt
I've been doing this inside of vc4, but vc5 wants it as well and it may be useful for other drivers (Intel has a related path for pre-gen6 with MRT, and freedreno had a TGSI path for it at one point). This required defining a common enum for the standard comparison functions, but other lowering pa

[Mesa-dev] [PATCH 0/5] vc5 prep touching common code

2017-09-19 Thread Eric Anholt
Here are a few little patches in my vc5 series -- a couple of required ones, and a couple of cleanups from the vc5 and bcmv work. The remainder of vc5 I think I have the necessary acks to merge (airlied and danvet). Eric Anholt (5): intel/genxml: Convert a not-present-or-"1" dict to a set. ga

[Mesa-dev] [PATCH 5/5] configure: Add the new "vc5" driver to the list, requiring a simulator.

2017-09-19 Thread Eric Anholt
My intent is to develop the vc5 driver in-tree for some time to build the CL generation and shader compiler code, and keep out-of-tree patches for talking to an actual kernel driver until the kernel driver can be stabilized on the hardware. v2: Define a HAVE_BROADCOM_DRIVERS, like HAVE_INTEL or HA

[Mesa-dev] [PATCH 3/5] anv: Fix some comment typos.

2017-09-19 Thread Eric Anholt
--- src/intel/vulkan/anv_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index df8de8d9407c..2808a5e991e7 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1895,7

[Mesa-dev] [PATCH 1/5] intel/genxml: Convert a not-present-or-"1" dict to a set.

2017-09-19 Thread Eric Anholt
I was implementing the same enum support in broadcom's gen_pack_header.py, and did this same simplification there. --- src/intel/genxml/gen_pack_header.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_heade

Re: [Mesa-dev] [PATCH 1/4] egl: simplify _eglDebugReport* API

2017-09-19 Thread Emil Velikov
On 15 September 2017 at 16:34, Kyle Brenneman wrote: > On 09/15/2017 07:42 AM, Emil Velikov wrote: >> >> Hi Kyle, >> >> On 8 September 2017 at 13:09, Emil Velikov >> wrote: >>> >>> On 7 September 2017 at 19:21, Kyle Brenneman >>> wrote: On 09/07/2017 11:56 AM, Emil Velikov wrote: >

Re: [Mesa-dev] [PATCH 7/9] wayland-drm: static inline wayland_drm_buffer_get

2017-09-19 Thread Emil Velikov
On 15 September 2017 at 16:41, Daniel Stone wrote: > Hi, > > On 15 September 2017 at 16:13, Emil Velikov wrote: >> On 15 September 2017 at 15:13, Daniel Stone wrote: >>> But if you avoid wl_resource_instance_of() and replace it with >>> wl_resource_get_destroy_listener(), you can side-step the p

Re: [Mesa-dev] [PATCH] egl/dri: link directly to libglapi.so

2017-09-19 Thread Emil Velikov
On 19 September 2017 at 18:52, Rob Herring wrote: > On Tue, Sep 19, 2017 at 12:19 PM, Emil Velikov > wrote: >> From: Emil Velikov >> >> In order to build EGL, one has to use shared glapi - libglapi.so. >> >> Thus the dlopen/dlsym dance is no longer needed and we can link to the >> library direc

Re: [Mesa-dev] [PATCH 06/15] vulkan: util: add macros to extract extension/offset number from enums

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 7:21 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 15/09/17 22:34, Jason Ekstrand wrote: > > On Fri, Sep 15, 2017 at 7:10 AM, Lionel Landwerlin < > lionel.g.landwer...@intel.com> wrote: > >> Signed-off-by: Lionel Landwerlin >> --- >> src/vulkan/util/v

Re: [Mesa-dev] [PATCH 14/15] anv: enable multiple planes per image/imageView

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 7:39 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 16/09/17 00:06, Jason Ekstrand wrote: > > > > On Fri, Sep 15, 2017 at 7:11 AM, Lionel Landwerlin < > lionel.g.landwer...@intel.com> wrote: > >> This change introduce the concept of planes for image & vi

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-19 Thread Jason Ekstrand
On Tue, Sep 19, 2017 at 6:52 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 15/09/17 17:01, Jason Ekstrand wrote: > >> In order to get support everywhere, this gets a bit complicated. On Sky >> Lake and later, everything is fine because HALIGN/VALIGN are specified >> in surfac

[Mesa-dev] [PATCH 01/14] st/va/postproc: use video original size for postprocessing

2017-09-19 Thread Leo Liu
Otherwise the aligned size will make video scaled Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/state_trackers/va/postproc.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postpr

[Mesa-dev] [PATCH 00/14] Patches for VA-API State Tracker Postproc

2017-09-19 Thread Leo Liu
This series are for VA-API State Tracker Postproc, including: Deinterlacing I video for transcode; Scaling support in postproc for transcode; Frame grabber in postproc Thanks Andy Furniss for lots of testing on these. Leo Liu (14): st/va/postproc: use video original size for postprocessing

[Mesa-dev] [PATCH 03/14] vl/compositor: extend YUV deint function to do field deint

2017-09-19 Thread Leo Liu
It will add Bob deint ability to interlaced video for HW encoder --- src/gallium/auxiliary/vl/vl_compositor.c | 26 +- src/gallium/auxiliary/vl/vl_compositor.h | 12 +--- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_co

[Mesa-dev] [PATCH 02/14] vl/compositor: separate YUV part from shader video buffer function

2017-09-19 Thread Leo Liu
So that it can be re-used --- src/gallium/auxiliary/vl/vl_compositor.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 794c8b5..714b894 100644 --- a/src/

[Mesa-dev] [PATCH 04/14] vl/compositor: add a new function for YUV deint

2017-09-19 Thread Leo Liu
It will replace previous deint function with abilities of scaling and field deinterlacing --- src/gallium/auxiliary/vl/vl_compositor.c | 30 ++ src/gallium/auxiliary/vl/vl_compositor.h | 12 2 files changed, 42 insertions(+) diff --git a/src/gallium/auxili

[Mesa-dev] [PATCH 07/14] vl/compositor: remove vl_compositor_yuv_deint() function

2017-09-19 Thread Leo Liu
No longer used. --- src/gallium/auxiliary/vl/vl_compositor.c | 31 --- src/gallium/auxiliary/vl/vl_compositor.h | 9 - 2 files changed, 40 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 37a7

[Mesa-dev] [PATCH 05/14] st/omx: use new vl_compositor_yuv_deint_full() to deint

2017-09-19 Thread Leo Liu
--- src/gallium/state_trackers/omx_bellagio/vid_dec.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/omx_bellagio/vid_dec.c b/src/gallium/state_trackers/omx_bellagio/vid_dec.c index 28741c0..b200abe 100644 --- a/src/gallium/state_tracker

[Mesa-dev] [PATCH 06/14] st/va: use new vl_compositor_yuv_deint_full() to deint

2017-09-19 Thread Leo Liu
We also set src rectangle explicitly just in case of the mismatch of size between interlaced buffer and progressive buffer --- src/gallium/state_trackers/va/picture.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/

[Mesa-dev] [PATCH 08/14] vl/compositor: add Bob top and bottom to YUV deint function

2017-09-19 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_compositor.c | 34 ++-- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index f758f08..0749c47 100644 --- a/src/gallium/auxiliary/vl/vl_co

[Mesa-dev] [PATCH 11/14] st/va/postproc: use progressive target buffer for scaling

2017-09-19 Thread Leo Liu
Scaling between interlaced buffers, esp. for scale-up, because blit will scale up top filed and bottom field separately. it'll result in the weaving for these buffer with lack of accuracy. So use shader deint for the case. --- src/gallium/state_trackers/va/postproc.c | 18 ++ 1 fil

[Mesa-dev] [PATCH 09/14] st/va/postproc: add a full NV12 deint support from buffer I to P

2017-09-19 Thread Leo Liu
Before it's impossible to transcode an interlaced video, becasue if in order for encoder to work, we have to force buffer to progessive, but the deint with buffer from I to P is missing. Now along With the new YUV deint full function, it works with weave and bob deint. Also this will benefit trans

  1   2   >