Re: [Mesa-dev] [PATCH 02/19] radv: do not allocate CMASK for unsupported 128 bit formats

2017-09-30 Thread Bas Nieuwenhuizen
Do we know if this does not have any improvement for 128 bit MSAA, even without fast clear? On Fri, Sep 29, 2017 at 5:48 PM, Samuel Pitoiset wrote: > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_image.c | 3 ++- >

[Mesa-dev] Add a travis job for meson vulkan

2017-09-30 Thread Dylan Baker
This adds a job to travis to build the vulkan driver and run some driver checks, and fix building on travis (which uses a particularly old Ubuntu). ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 1/5] meson: look for libelf as a library if there is no pkgconfig

2017-09-30 Thread Dylan Baker
Required for older versions of libelf that don't have a pkgconfig file. Signed-off-by: Dylan Baker --- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5353a417484..15f7f0ea64f 100644 --- a/meson.build

[Mesa-dev] [PATCH 5/5] travis: add meson build for vulkan drivers.

2017-09-30 Thread Dylan Baker
Signed-off-by: Dylan Baker --- .travis.yml | 36 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index d9a8bf5a9d4..e8fff1b66ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ env: -

[Mesa-dev] [PATCH 3/5] meson: set C++ standard to C++11

2017-09-30 Thread Dylan Baker
RadeonSI requires C++11, clover requires C++11, LLVM requires it, so llvmpipe may require it, and that cover most of the C++ code in mesa. Signed-off-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build

[Mesa-dev] [PATCH 4/5] meson: convert gtest to an internal dependency

2017-09-30 Thread Dylan Baker
In truth gtest is an external dependency that upstream expects you to "vendor" into your own tree. As such, it makes sense to treat it more like a dependency than an internal library, and collect it's requirements together in a dependency object. Signed-off-by: Dylan Baker

[Mesa-dev] [PATCH 2/5] meson: add window system deps to intel vulkan common

2017-09-30 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/intel/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index a0be95c747c..6ce092e05ce 100644 --- a/src/intel/vulkan/meson.build +++

[Mesa-dev] [PATCH 1/2] st/va: don't re-allocate interlaced buffer with pakced YUV format

2017-09-30 Thread Leo Liu
It caused corruption, when vlVaPutImage putting YUV to the fields Cc: mesa-sta...@lists.freedesktop.org Cc: Andy Furniss --- src/gallium/state_trackers/va/image.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] [PATCH 2/2] st/vdpau: don't re-allocate interlaced buffer with packed YUV format

2017-09-30 Thread Leo Liu
It caused corruption, when vlVdpVideoSurfacePutBitsYCbCr putting YUV to the fields Cc: mesa-sta...@lists.freedesktop.org Cc: Andy Furniss --- src/gallium/state_trackers/vdpau/surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[Mesa-dev] [Bug 103002] string_buffer_test.cpp:43: error: ISO C++ forbids initialization of member ‘str1’

2017-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103002 Thomas Helland changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] Mesa 17.2.2 release candidate

2017-09-30 Thread Juan A. Suarez Romero
On Fri, 2017-09-29 at 21:44 +0200, Nicolai Hähnle wrote: > On 29.09.2017 21:31, Juan A. Suarez Romero wrote: > > Hello list, > > > > The candidate for the Mesa 17.2.2 is now available. Currently we have: > > - 43 queued > > - 7 nominated (outstanding) > > - and 3 rejected patches > > > >

[Mesa-dev] [Bug 103018] Add account for Rhys Kidd

2017-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103018 Rhys Kidd changed: What|Removed |Added Assignee|sitewranglers@lists.freedes

Re: [Mesa-dev] [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Christian König
Am 30.09.2017 um 12:57 schrieb Benedikt Schemmer: It should be handled as an error if resource_formats[0] is PIPE_FORMAT_NONE. Better write this as: if (resource_formats[i] == PIPE_FORMAT_NONE) { if (i == 0) gotot error; continue; } ... I dont think it can be zero. In the

Re: [Mesa-dev] [PATCH V3] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Marek Olšák
FYI, I've just pushed the cleanup version as I mentioned before. Marek On Sat, Sep 30, 2017 at 6:20 PM, Benedikt Schemmer wrote: > From: Benedikt Schemmer > Date: Sat, 30 Sep 2017 18:05:43 +0200 > Subject: [PATCH V3] radeonsi/uvd: fix planar formats broken since >

[Mesa-dev] [PATCH V3] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Benedikt Schemmer
From: Benedikt Schemmer Date: Sat, 30 Sep 2017 18:05:43 +0200 Subject: [PATCH V3] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb V1: Marek Olsak V2: remove code duplication and one unnecessary variable, minor whitespace fix V3: ensure valid

Re: [Mesa-dev] [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Benedikt Schemmer
yes Am 30.09.2017 um 17:53 schrieb Marek Olšák: > On Sat, Sep 30, 2017 at 5:47 PM, Christian König > wrote: >> Am 30.09.2017 um 12:57 schrieb Benedikt Schemmer: It should be handled as an error if resource_formats[0] is PIPE_FORMAT_NONE. Better

Re: [Mesa-dev] [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Marek Olšák
On Sat, Sep 30, 2017 at 5:47 PM, Christian König wrote: > Am 30.09.2017 um 12:57 schrieb Benedikt Schemmer: >>> >>> It should be handled as an error if resource_formats[0] is >>> PIPE_FORMAT_NONE. >>> >>> Better write this as: >>> >>> if (resource_formats[i] ==

Re: [Mesa-dev] [PATCH 00/11] Gallium/RadeonSI: Allow any 1D register as a TGSI address operand

2017-09-30 Thread Marek Olšák
On Sat, Sep 30, 2017 at 4:49 PM, Gert Wollny wrote: > Am Freitag, den 29.09.2017, 16:09 +0200 schrieb Marek Olšák: >> On Fri, Sep 29, 2017 at 3:33 PM, Gert Wollny >> wrote: >> > >> > Am 29.09.2017 14:51 schrieb "Marek Olšák" : >> > >>

Re: [Mesa-dev] [PATCH 00/11] Gallium/RadeonSI: Allow any 1D register as a TGSI address operand

2017-09-30 Thread Gert Wollny
Am Freitag, den 29.09.2017, 16:09 +0200 schrieb Marek Olšák: > On Fri, Sep 29, 2017 at 3:33 PM, Gert Wollny > wrote: > > > > Am 29.09.2017 14:51 schrieb "Marek Olšák" : > > > > > > > > If all requirements are met, UARL isn't emitted and the source > > >

Re: [Mesa-dev] [PATCH] intel: Always set Cube Face Enables for all surfaces.

2017-09-30 Thread Jason Ekstrand
On September 30, 2017 12:29:56 AM Matt Turner wrote: On Fri, Sep 29, 2017 at 10:54 PM, Kenneth Graunke wrote: These shouldn't matter for non-cubes, and we always enable them all for cubes, so we may as well set them all the time. We can just mark

Re: [Mesa-dev] [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Benedikt Schemmer
> > It should be handled as an error if resource_formats[0] is PIPE_FORMAT_NONE. > > Better write this as: > > if (resource_formats[i] == PIPE_FORMAT_NONE) { > if (i == 0) > gotot error; > continue; > } > ... > I dont think it can be zero. In the beginning of vl_video_buffer.c

Re: [Mesa-dev] [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Christian König
Am 29.09.2017 um 21:09 schrieb Benedikt Schemmer: From: Benedikt Schemmer Date: Fri, 29 Sep 2017 21:02:13 +0200 Subject: [PATCH V2] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb V2: remove code duplication and one unnessecary variable, minor

Re: [Mesa-dev] [PATCH] radeonsi/uvd: fix planar formats broken since f70f6baaa3bb0f8b280ac2eaea69bb

2017-09-30 Thread Christian König
Am 29.09.2017 um 16:11 schrieb Marek Olšák: From: Marek Olšák Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/si_uvd.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH v2] etnaviv: Do GC3000 resolve-in-place when possible

2017-09-30 Thread Wladimir J. van der Laan
If an RS blit is done with source exactly the same as destination, and the hardware supports this, do an in-place resolve. This only fills in tiles that have not been rendered to using information from the TS. This is the same as the blob does and potentially saves significant bandwidth when

Re: [Mesa-dev] [PATCH] intel: Always set Cube Face Enables for all surfaces.

2017-09-30 Thread Matt Turner
On Fri, Sep 29, 2017 at 10:54 PM, Kenneth Graunke wrote: > These shouldn't matter for non-cubes, and we always enable them all > for cubes, so we may as well set them all the time. We can just mark > the fields "mbo" (must be one) and genxml will automatically set them >

Re: [Mesa-dev] [PATCH] glsl/ast: Stop processing a switch-statement after an error in the init-expression

2017-09-30 Thread Alejandro Piñeiro
On 30/09/17 04:16, Ian Romanick wrote: > From: Ian Romanick > > This happens to work now because ir_binop_all_equal is used. This > causes vector typed init-expressions to produce scalar Boolean values > after comparison. > > The next commit changes ir_binop_all_equal

Re: [Mesa-dev] [PATCH] etnaviv: Do GC3000 resolve-in-place when possible

2017-09-30 Thread Wladimir J. van der Laan
On Fri, Sep 29, 2017 at 06:00:13PM +0200, Wladimir J. van der Laan wrote: > If an RS blit is done with source exactly the same as destination, and > the hardware supports this, do an in-place resolve. > > This is the same as the blob does and potentially saves significant > bandwidth when doing