[Mesa-dev] [PATCH 2/2] anv: add anv_extensions.h in gitignore

2018-04-04 Thread Alejandro Piñeiro
Generated since: dd088d4bec74f37ffe4cd02626a6a8af93fdebac "anv/extensions: Generate a header file with extension tables" --- src/intel/vulkan/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/.gitignore b/src/intel/vulkan/.gitignore index 4ea978d6e41..4036a1bfe3c 1006

[Mesa-dev] [PATCH 1/2] compiler/nir: add nir_intrinsics.[ch] to .gitignore

2018-04-04 Thread Alejandro Piñeiro
Generated since 76dfed8ae2d5c6c509eb2661389be3c6a25077df "nir: mako all the intrinsics" --- src/compiler/nir/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/.gitignore b/src/compiler/nir/.gitignore index 64828eba6d3..dea9ada80fa 100644 --- a/src/compiler/nir/.giti

Re: [Mesa-dev] [PATCH] i965: Extend the negative 32-bit deltas to 64-bits

2018-04-04 Thread Kenneth Graunke
On Tuesday, April 3, 2018 11:56:27 PM PDT Sergii Romantsov wrote: > Hello, Mark. > I've done: Cc, Tested-by and Reviewed-by also added. I pushed your patch. Thanks so much for tracking this down! signature.asc Description: This is a digitally signed message part. ___

[Mesa-dev] [PATCH v3 4/4] swr: Fix include for createPromoteMemoryToRegisterPass

2018-04-04 Thread Mike Lothian
Include llvm/Transforms/Utils.h with the newest LLVM 7 v2: Include with " " rather than < > (Vinson Lee) v3: Use LLVM_VERSION_MAJOR rather than HAVE_LLVM (George Kyriazis) Signed-of-by: Mike Lothian Tested-by: Vinson Lee --- src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp | 3 +++ 1 fil

Re: [Mesa-dev] [PATCH 2/2] etnaviv: advertise YUV formats as external only

2018-04-04 Thread Philipp Zabel
On Thu, 2018-03-29 at 16:15 +0200, Lucas Stach wrote: > We only support importing YUV as OES external resources. > This will change in the future, but for now this fixes the > advertised capabilities in eglQueryDmaBufModifiersEXT. > > Signed-off-by: Lucas Stach > --- > src/gallium/drivers/etnavi

Re: [Mesa-dev] [PATCH 1/2] gallium/util: implement util_format_is_yuv

2018-04-04 Thread Philipp Zabel
On Thu, 2018-03-29 at 16:15 +0200, Lucas Stach wrote: > This adds a helper to check if a pipe format is in YUV color space. > Drivers want to know about this, as YUV mostly needs special handling. > > Signed-off-by: Lucas Stach > --- > src/gallium/auxiliary/util/u_format.h | 12 > 1

[Mesa-dev] [PATCH 1/2] radv: mask out high VM address bits in registers where needed

2018-04-04 Thread Samuel Pitoiset
Ported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 18 +- src/amd/vulkan/radv_device.c | 2 +- src/amd/vulkan/radv_pipeline.c | 18 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/amd/vulkan/r

[Mesa-dev] [PATCH 2/2] radv: don't use the SPI barrier management bug workaround

2018-04-04 Thread Samuel Pitoiset
Ported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_pipeline.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 5a44efb78b..89a643a1b1 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/

Re: [Mesa-dev] [PATCH 2/2] etnaviv: advertise YUV formats as external only

2018-04-04 Thread Christian Gmeiner
2018-03-29 16:15 GMT+02:00 Lucas Stach : > We only support importing YUV as OES external resources. > This will change in the future, but for now this fixes the > advertised capabilities in eglQueryDmaBufModifiersEXT. > > Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner > --- > src/ga

Re: [Mesa-dev] [PATCH 1/2] gallium/util: implement util_format_is_yuv

2018-04-04 Thread Christian Gmeiner
2018-03-29 16:15 GMT+02:00 Lucas Stach : > This adds a helper to check if a pipe format is in YUV color space. > Drivers want to know about this, as YUV mostly needs special handling. > > Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner > --- > src/gallium/auxiliary/util/u_format.h |

Re: [Mesa-dev] [PATCH] intel: compiler: silence compiler warning

2018-04-04 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Tue, 2018-04-03 at 15:41 +0100, Lionel Landwerlin wrote: > ../src/intel/compiler/brw_reg.h: In function ‘bool > brw_regs_negative_equal(const brw_reg*, const brw_reg*)’: > ../src/intel/compiler/brw_reg.h:305:1: warning: control reaches end > of non-void function

Re: [Mesa-dev] [PATCH] radv: do not always disable dual quad mode when chip has RbPlus

2018-04-04 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Thu, Mar 29, 2018 at 2:51 PM, Samuel Pitoiset wrote: > For GFX9+ only, RadeonSI does this too. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_pipeline.c | 20 +--- > 1 file changed, 17 insertions(+), 3 deletions(-) > > diff --gi

Re: [Mesa-dev] [PATCH 2/2] radv: don't use the SPI barrier management bug workaround

2018-04-04 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen for the series. On Wed, Apr 4, 2018 at 10:55 AM, Samuel Pitoiset wrote: > Ported from RadeonSI. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_pipeline.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/src/amd/vulkan/radv_pipeline.c

Re: [Mesa-dev] [PATCH 15/17] radeonsi: always prefetch later shaders after the draw packet

2018-04-04 Thread Samuel Pitoiset
On 04/04/2018 03:59 AM, Marek Olšák wrote: From: Marek Olšák so that the draw is started as soon as possible. --- src/gallium/drivers/radeonsi/si_cp_dma.c | 68 ++-- src/gallium/drivers/radeonsi/si_pipe.h | 2 +- src/gallium/drivers/radeonsi/si_state_dra

[Mesa-dev] [PATCH 1/3] radv: use a mask for VBOs and shaders prefetching

2018-04-04 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 75 ++-- src/amd/vulkan/radv_private.h| 3 +- 2 files changed, 51 insertions(+), 27 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index b

[Mesa-dev] [PATCH 2/3] radv: rename radv_emit_prefetch() to radv_emit_prefetch_L2()

2018-04-04 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 30 +++--- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 684f2a239a..393d9ba4f4 100644 --- a/src/amd/vulkan/rad

[Mesa-dev] [PATCH 3/3] radv: implement a fast prefetch path for the vertex stage

2018-04-04 Thread Samuel Pitoiset
This allows to start draws as soon as possible. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 40 ++-- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c i

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-04 Thread Michel Dänzer
On 2018-04-04 03:59 AM, Marek Olšák wrote: > From: Marek Olšák > > This enables the tile swizzle for some cases of the displayable micro mode, > and it also fixes an addrlib assertion failure on Vega. > --- > src/amd/common/ac_surface.c | 18 ++ > 1 file changed, 14 insertions(+)

Re: [Mesa-dev] [PATCH 2/4] nir: add support for bindless_texture samplers

2018-04-04 Thread Karol Herbst
On Wed, Apr 4, 2018 at 2:16 AM, Jason Ekstrand wrote: > On Tue, Apr 3, 2018 at 6:21 AM, Karol Herbst wrote: >> >> Signed-off-by: Karol Herbst >> --- >> src/compiler/glsl/glsl_to_nir.cpp | 17 +++-- >> src/compiler/nir/nir.h| 1 + >> src/compiler/nir/nir_print.c |

Re: [Mesa-dev] [PATCH 1/4] nir/split_var_copies: handle IMAGE and SAMPLER for bindless vars

2018-04-04 Thread Karol Herbst
On Wed, Apr 4, 2018 at 2:23 AM, Jason Ekstrand wrote: > I have a very strong feeling that this isn't the only place where > reading/writing IMAGE and SAMPLER variables is going to cause NIR heartburn. > For example, we have special cases in nir_validate for SUBROUTINE variables > and we probably n

Re: [Mesa-dev] [PATCH 1/4] nir/split_var_copies: handle IMAGE and SAMPLER for bindless vars

2018-04-04 Thread Timothy Arceri
On 04/04/18 20:20, Karol Herbst wrote: On Wed, Apr 4, 2018 at 2:23 AM, Jason Ekstrand wrote: I have a very strong feeling that this isn't the only place where reading/writing IMAGE and SAMPLER variables is going to cause NIR heartburn. For example, we have special cases in nir_validate for SUBR

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #3 from sergio.calleg...@gmail.com --- Seeing exactly the same on kubuntu 17.10 with the padoka ppa (bringing mesa 18.0.0) and the kde ppa on a haswell laptop. Many gray items now are much darker. -- You are receiving this mail bec

[Mesa-dev] [Bug 105846] Assertion failure @ st_atom_array.c:675 when playing Natural Selection 2

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105846 --- Comment #5 from Timothy Arceri --- (In reply to las from comment #2) > link to coredump (also uploading as attachment): > https://doc-0o-4k-docs.googleusercontent.com/docs/securesc/ > pum26a1iie2onuvj4oi878g6cm4t7ee5/ogcgqid4h8vlgsdm101jckd6

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #4 from sergio.calleg...@gmail.com --- Disabling compositing, all colors go back to normal. The issue seems to be realated to translucent elements. -- You are receiving this mail because: You are the QA Contact for the bug. You are

[Mesa-dev] [Bug 105846] Assertion failure @ st_atom_array.c:675 when playing Natural Selection 2

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105846 --- Comment #6 from l...@protonmail.ch --- Another attempt at sharing my coredump: https://drive.google.com/open?id=11no6HF0WfEwwlE2IoeMx6aigsJ-504qp I'll also try to upload it here again, although it will probably take a long time (am currently

[Mesa-dev] [AppVeyor] mesa master #7374 completed

2018-04-04 Thread AppVeyor
Build mesa 7374 completed Commit 1beb80cb56 by Lionel Landwerlin on 4/3/2018 1:41 PM: intel: compiler: silence compiler warning\n\n../src/intel/compiler/brw_reg.h: In function ‘bool brw_regs_negative_equal(const brw_reg*, const brw_reg*)’:\n../src/intel/compile

Re: [Mesa-dev] [PATCH 1/2] compiler/nir: add nir_intrinsics.[ch] to .gitignore

2018-04-04 Thread Rob Clark
On Wed, Apr 4, 2018 at 3:25 AM, Alejandro Piñeiro wrote: > Generated since > 76dfed8ae2d5c6c509eb2661389be3c6a25077df > "nir: mako all the intrinsics" oh, people still do in-tree builds? I've been spoiled by meson forcing out-of-tree builds ;-) Reviewed-by: Rob Clark > --- > src/compiler/nir

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 sergio.calleg...@gmail.com changed: What|Removed |Added CC||sergio.calleg...@gmail.com

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #5 from sergio.calleg...@gmail.com --- In my case: KDE Frameworks 5.44.0 Qt 5.9.1 (built against 5.9.1) KDE Plasma 5.12.4 kernel 4.13.0-38-generic (ubuntu) Xorg 1.19.5 libdrm 2.4.91 + git mesa Version: 18.0.0 intel driver 2.99.917 +

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Benedikt Schemmer
Hi Timothy, thanks for looking into this. Dead Island still crashes for me with NIR. However when I attach apitrace it behaves even more strangely, both TGSI and NIR crash. TGSI gets a little further. Without apitrace I can play the game with TGSI and it reproducibly crashes during shader compil

[Mesa-dev] [Bug 105846] Assertion failure @ st_atom_array.c:675 when playing Natural Selection 2

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105846 --- Comment #7 from Timothy Arceri --- (In reply to las from comment #6) > Another attempt at sharing my coredump: > https://drive.google.com/open?id=11no6HF0WfEwwlE2IoeMx6aigsJ-504qp > > I'll also try to upload it here again, although it will

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Timothy Arceri
On 04/04/18 21:51, Benedikt Schemmer wrote: Hi Timothy, thanks for looking into this. Dead Island still crashes for me with NIR. Just to make sure, are you building a 32bit version of Mesa? If not you might be running your system Mesa. If you are definitely building Mesa 32bit then I'll tak

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Benedikt Schemmer
No I dont. 32-bit is a problem, because Ubuntu wants to literally deinstall itself before letting me do that (some dependency nonsense). So I only build 64-bit myself. For 32-bit & backup 64-bit I use the oibaf ppa which I updated this morning. I wouldnt spend to much time right now, because me

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Benedikt Schemmer
Hi Timothy, another game that is behaving strangly is Metro 2033 Redux, also crashes earlier with apitrace attached. This time TGSI and NIR crash at about the same time (press any key to continue screen) Without apitrace TGSI works fine, NIR crashes like above. ==> metronir <== 2059446 glDisableV

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-04 Thread Marek Olšák
On Wed, Apr 4, 2018, 6:18 AM Michel Dänzer wrote: > On 2018-04-04 03:59 AM, Marek Olšák wrote: > > From: Marek Olšák > > > > This enables the tile swizzle for some cases of the displayable micro > mode, > > and it also fixes an addrlib assertion failure on Vega. > > --- > > src/amd/common/ac_su

Re: [Mesa-dev] [PATCH 15/17] radeonsi: always prefetch later shaders after the draw packet

2018-04-04 Thread Marek Olšák
On Wed, Apr 4, 2018, 6:07 AM Samuel Pitoiset wrote: > > > On 04/04/2018 03:59 AM, Marek Olšák wrote: > > From: Marek Olšák > > > > so that the draw is started as soon as possible. > > --- > > src/gallium/drivers/radeonsi/si_cp_dma.c | 68 > ++-- > > src/gallium/dri

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-04 Thread Michel Dänzer
On 2018-04-04 02:57 PM, Marek Olšák wrote: > On Wed, Apr 4, 2018, 6:18 AM Michel Dänzer > wrote: > > On 2018-04-04 03:59 AM, Marek Olšák wrote: > > From: Marek Olšák mailto:marek.ol...@amd.com>> > > > > This enables the tile swizzle for some cases of the

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Benedikt Schemmer
Just for baseline: I have no problem running and creating apitraces from Bioshock Infinite or TombRaider, I think both 32-bit CAT Interstellar which is 64-bit using this command R600_DEBUG=nir apitrace trace --output=/home/nano/bio2 %command% and building either the 64 or 32 bit version of apitra

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #10 from Ben Clapp --- Regarding the freeze when using the OpenGL backend with Mesa 18.0, it seems a different user has already reported that bug: https://bugs.dolphin-emu.org/issues/10904 https://bugs.freedesktop.org/show_bug.cgi?id

Re: [Mesa-dev] [PATCH 3/3] radv: implement a fast prefetch path for the vertex stage

2018-04-04 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen for the series. On Wed, Apr 4, 2018 at 12:12 PM, Samuel Pitoiset wrote: > This allows to start draws as soon as possible. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_cmd_buffer.c | 40 > ++-- > 1 file chang

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #6 from Tapani Pälli --- Pretty sure this is the same bug, I'm not sure if the Xorg patch is in place since 32bit visual seems to be srgb capable (see 's'), it shouldn't be like this with the patch: --- 8< --- 0x086 32 tc 0 32 0

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 Tapani Pälli changed: What|Removed |Added CC||lem...@gmail.com -- You are receiving t

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Timothy Arceri
On 04/04/18 22:53, Benedikt Schemmer wrote: Hi Timothy, another game that is behaving strangly is Metro 2033 Redux, also crashes earlier with apitrace attached. This time TGSI and NIR crash at about the same time (press any key to continue screen) Without apitrace TGSI works fine, NIR crashes li

Re: [Mesa-dev] Status of radeonsi NIR

2018-04-04 Thread Benedikt Schemmer
RX460 4GB Am 04.04.2018 um 15:59 schrieb Timothy Arceri: > On 04/04/18 22:53, Benedikt Schemmer wrote: >> Hi Timothy, >> >> another game that is behaving strangly is Metro 2033 Redux, also crashes >> earlier with apitrace attached. This time TGSI and NIR crash at about >> the same time (press any

Re: [Mesa-dev] [PATCH v3 4/4] swr: Fix include for createPromoteMemoryToRegisterPass

2018-04-04 Thread Kyriazis, George
Thank you! Reviewed-By: George Kyriazis mailto:george.kyria...@intel.com>> On Apr 4, 2018, at 3:22 AM, Mike Lothian mailto:m...@fireburn.co.uk>> wrote: Include llvm/Transforms/Utils.h with the newest LLVM 7 v2: Include with " " rather than < > (Vinson Lee) v3: Use LLVM_VERSION_MAJOR rather t

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #7 from Tapani Pälli --- I see the patch in "server-1.19-branch" but it looks like there has not been a release which would include the fix :/ Release 1.19.7 will have it. -- You are receiving this mail because: You are the assigne

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #11 from Timothy Arceri --- (In reply to Ben Clapp from comment #10) > Regarding the freeze when using the OpenGL backend with Mesa 18.0, it seems > a different user has already reported that bug: > https://bugs.dolphin-emu.org/issue

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #8 from sergio.calleg...@gmail.com --- I do not know if the following information is relevant, but in doubt I am providing it: I was the original reporter of https://bugs.freedesktop.org/show_bug.cgi?id=103699. The issue with the fir

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #9 from sergio.calleg...@gmail.com --- A quick question... the patch being mentioned is related to the part of xorg that usually gets packaged as xserver-xorg-core, right? Not to the individual video drivers such as those packaged in

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #12 from Ben Clapp --- Created attachment 138582 --> https://bugs.freedesktop.org/attachment.cgi?id=138582&action=edit Dump of optimized shaders in scene with incorrect rendering of vertex color. -- You are receiving this mail be

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #13 from Ben Clapp --- Created attachment 138583 --> https://bugs.freedesktop.org/attachment.cgi?id=138583&action=edit Dump of unoptimized shaders in scene with incorrect rendering of vertex color. OK, here's your shader dumps att

Re: [Mesa-dev] [PATCH v3 4/4] swr: Fix include for createPromoteMemoryToRegisterPass

2018-04-04 Thread Mike Lothian
Are you able to push this for me on my behalf? On Wed, 4 Apr 2018 at 15:04 Kyriazis, George wrote: > Thank you! > > Reviewed-By: George Kyriazis > > On Apr 4, 2018, at 3:22 AM, Mike Lothian wrote: > > Include llvm/Transforms/Utils.h with the newest LLVM 7 > > v2: Include with " " rather than <

Re: [Mesa-dev] [PATCH] gallium: add CAP for postprocess filters

2018-04-04 Thread Roland Scheidegger
Am 04.04.2018 um 05:42 schrieb Timothy Arceri: > On 04/04/18 13:22, Roland Scheidegger wrote: >> Am 04.04.2018 um 05:03 schrieb Timothy Arceri: >>> On 04/04/18 12:44, Roland Scheidegger wrote: Am 04.04.2018 um 04:32 schrieb Timothy Arceri: > On 04/04/18 11:58, Roland Scheidegger wrote: >>>

Re: [Mesa-dev] [PATCH 1/4] mesa: add INTEL_blackhole_render

2018-04-04 Thread Lionel Landwerlin
On 15/03/18 16:03, Emil Velikov wrote: +EXT(INTEL_blackhole_render , INTEL_blackhole_render , GLL, GLC, x , ES2, 2018) Spec says "OpenGL 3.0 is required" so GLL + GLC should become 30 Wrt GLES side the spec does not mention anything - is that ES1, ES2, which ve

Re: [Mesa-dev] [PATCH 2/4] nir: add support for bindless_texture samplers

2018-04-04 Thread Jason Ekstrand
On Wed, Apr 4, 2018 at 3:18 AM, Karol Herbst wrote: > On Wed, Apr 4, 2018 at 2:16 AM, Jason Ekstrand > wrote: > > On Tue, Apr 3, 2018 at 6:21 AM, Karol Herbst wrote: > >> > >> Signed-off-by: Karol Herbst > >> --- > >> src/compiler/glsl/glsl_to_nir.cpp | 17 +++-- > >> src/compiler

Re: [Mesa-dev] [PATCH 1/4] nir/split_var_copies: handle IMAGE and SAMPLER for bindless vars

2018-04-04 Thread Jason Ekstrand
On Wed, Apr 4, 2018 at 3:33 AM, Timothy Arceri wrote: > On 04/04/18 20:20, Karol Herbst wrote: > >> On Wed, Apr 4, 2018 at 2:23 AM, Jason Ekstrand >> wrote: >> >>> I have a very strong feeling that this isn't the only place where >>> reading/writing IMAGE and SAMPLER variables is going to cause

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #14 from Samuel Pitoiset --- Can you attach your vulkaninfo too? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev

Re: [Mesa-dev] [PATCH 00/14] Enable sRGB-encoded fast-clears on CannonLake

2018-04-04 Thread Nanley Chery
On Tue, Apr 03, 2018 at 03:50:38PM -0700, Jason Ekstrand wrote: > I think I've reviewed all the ones that make significant functional > changes. The exception is the patch that makes us not do a fast depth > clear. I think what you did is probably better but I haven't thought about > it enough to

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #15 from Ben Clapp --- Created attachment 138586 --> https://bugs.freedesktop.org/attachment.cgi?id=138586&action=edit vulkaninfo output when using mesa 18.0. I already had attached my vulkaninfo, but that was back when I was usin

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #16 from Samuel Pitoiset --- Thanks, are you still using the same dolphin? If not, can you report the version number, please? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

[Mesa-dev] [Bug 103852] Rendering errors when running dolphin-emu with Vulkan backend, radv (Super Smash Bros. Melee)

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103852 --- Comment #17 from Ben Clapp --- (In reply to Samuel Pitoiset from comment #16) > Thanks, are you still using the same dolphin? If not, can you report the > version number, please? Currently using commit dea30e08b for dolphin (was latest comm

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-04 Thread Emil Velikov
On 22 March 2018 at 00:39, Ilia Mirkin wrote: > Just one bit of feedback, for the rest I either agree or have no opinion: > > On Wed, Mar 21, 2018 at 8:28 PM, Emil Velikov > wrote: >> * unfit and late nominations: >> * any rejections that are unfit based on the existing criteria can >>

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-04 Thread Mark Janes
Leo Liu writes: > On the CI family, firmware requires the destory command have to be the > last command in the IB, moving feedback command after destroy is causing > issues on CI cards, so we have to keep the previous logic that moves > destroy back to the last command. > > But as the original is

Re: [Mesa-dev] [PATCH 1/4] mesa: add INTEL_blackhole_render

2018-04-04 Thread Emil Velikov
On 4 April 2018 at 15:48, Lionel Landwerlin wrote: > On 15/03/18 16:03, Emil Velikov wrote: > >> Spec says "OpenGL 3.0 is required" so GLL + GLC should become 30 >> Wrt GLES side the spec does not mention anything - is that ES1, ES2, >> which version etc. >> Worth keeping it simple and update the

[Mesa-dev] [Bug 105847] Profile GL3bc is not available on X11GraphicsDevice

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105847 --- Comment #1 from Emil Velikov --- Some of the previous scilab reports indicate that the jogl has some funky driver detection code - see bug 103078. If the suggestion from there (reinstating the "Gallium 0.4") makes things work again, then we

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-04 Thread Mark Janes
Emil Velikov writes: > Hi all, > > Having gone through the thread a few times, I believe it can be > summarised as follows: > * Greater transparency is needed. > * Subsystem/team maintainers. > * Unfit and late nominations. > * Developers/everyone should be more involved. > * Greater automat

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #10 from Tasev --- Hi, Same bug here after upgrading today to mesa 18.0 on both Broadwell and Skylake mobile. mesa 18.0.0 from padoka PPA stable X.Org version: 1.19.5 KDE Neon KDE Frameworks 5.44.0 Qt 5.10 KDE Plasma 5.12.4 kernel 4

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 Tasev changed: What|Removed |Added CC||tasev.stefano...@skynet.be -- You are receivin

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 Dylan Baker changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |baker.dyla...@gmail.com

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 Dylan Baker changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Dylan Baker

Re: [Mesa-dev] [PATCH 02/17] ac/surface: don't set the display flag for obviously unsupported cases

2018-04-04 Thread Marek Olšák
On Wed, Apr 4, 2018 at 9:01 AM, Michel Dänzer wrote: > On 2018-04-04 02:57 PM, Marek Olšák wrote: > > On Wed, Apr 4, 2018, 6:18 AM Michel Dänzer > > wrote: > > > > On 2018-04-04 03:59 AM, Marek Olšák wrote: > > > From: Marek Olšák mailto:marek.ol...@amd.com > >

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 --- Comment #4 from Jan Alexander Steffens (heftig) --- Arch Linux currently carries two patches (fix-install.diff and fix-versions.diff) to reduce to differences between the Meson product and the Autotools one; it also adds the project version

[Mesa-dev] [PATCH] meson: fix megadriver symlinking

2018-04-04 Thread Dylan Baker
Which should be relative instead of absolute. Fixes: f7f1b30f81e842db6057591470ce3cb6d4fb2795 ("meson: extend install_megadrivers script to handle symmlinking") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105567 Signed-off-by: Dylan Baker --- bin/install_megadrivers.py | 2 +-

Re: [Mesa-dev] [PATCH 1/4] mesa: add INTEL_blackhole_render

2018-04-04 Thread Lionel Landwerlin
On 04/04/18 17:51, Emil Velikov wrote: On 4 April 2018 at 15:48, Lionel Landwerlin wrote: On 15/03/18 16:03, Emil Velikov wrote: Spec says "OpenGL 3.0 is required" so GLL + GLC should become 30 Wrt GLES side the spec does not mention anything - is that ES1, ES2, which version etc. Worth keepi

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-04 Thread Juan A. Suarez Romero
On Wed, 2018-04-04 at 10:07 -0700, Mark Janes wrote: > Emil Velikov writes: > > > Hi all, > > > > Having gone through the thread a few times, I believe it can be > > summarised as follows: > > * Greater transparency is needed. > > * Subsystem/team maintainers. > > * Unfit and late nominations

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-04 Thread Juan A. Suarez Romero
On Wed, 2018-04-04 at 09:40 -0700, Mark Janes wrote: > Leo Liu writes: > > > On the CI family, firmware requires the destory command have to be the > > last command in the IB, moving feedback command after destroy is causing > > issues on CI cards, so we have to keep the previous logic that moves

[Mesa-dev] [PATCH] meson: Set .so version for xa like autotools does

2018-04-04 Thread Dylan Baker
Fixes: 0ba909f0f111824223bc38563d1a6bc73e69c2cc ("meson: build gallium xa state tracker") Signed-off-by: Dylan Baker --- src/gallium/targets/xa/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/targets/xa/meson.build b/src/gallium/targets/xa/me

[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105567 --- Comment #5 from Dylan Baker --- patch here: https://patchwork.freedesktop.org/patch/214930/ As a side note, feel free to CC me on any meson related things. The missing version script should be fixed for 18.0.1, the change is in master as b

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-04 Thread Emil Velikov
On 4 April 2018 at 17:40, Mark Janes wrote: > Leo Liu writes: > >> On the CI family, firmware requires the destory command have to be the >> last command in the IB, moving feedback command after destroy is causing >> issues on CI cards, so we have to keep the previous logic that moves >> destroy

[Mesa-dev] [Bug 105871] Discolored KDE panels after updating to Mesa 18.0 on Intel broadwell

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105871 --- Comment #11 from Tapani Pälli --- (In reply to sergio.callegari from comment #9) > A quick question... the patch being mentioned is related to the part of xorg > that usually gets packaged as xserver-xorg-core, right? Not to the > individual

Re: [Mesa-dev] [RFC] Mesa 17.3.x release problems and process improvements

2018-04-04 Thread Mark Janes
"Juan A. Suarez Romero" writes: > On Wed, 2018-04-04 at 10:07 -0700, Mark Janes wrote: >> Emil Velikov writes: >> > In detail: >> > * make the patch queue, release date and blockers accessible at any >> >point in time: >> > * queued patches can be accessed, via a branch - say wip/17.3,

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-04 Thread Mark Janes
Emil Velikov writes: > On 4 April 2018 at 17:40, Mark Janes wrote: >> Leo Liu writes: >> >>> On the CI family, firmware requires the destory command have to be the >>> last command in the IB, moving feedback command after destroy is causing >>> issues on CI cards, so we have to keep the previou

Re: [Mesa-dev] [PATCH, v2] CHROMIUM: configure.ac/meson.build: Fix -latomic test

2018-04-04 Thread Matt Turner
On Thu, Mar 29, 2018 at 4:10 PM, Nicolas Boichat wrote: > On Fri, Mar 30, 2018 at 2:26 AM, Matt Turner wrote: >> On Thu, Mar 29, 2018 at 1:31 AM, Nicolas Boichat >> wrote: >>> From: Nicolas Boichat >>> >>> When compiling with LLVM 6.0, the test fails to detect that >>> -latomic is actually req

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeon/vce: move feedback command inside of destroy function

2018-04-04 Thread Leo Liu
On 04/04/2018 12:40 PM, Mark Janes wrote: Leo Liu writes: On the CI family, firmware requires the destory command have to be the last command in the IB, moving feedback command after destroy is causing issues on CI cards, so we have to keep the previous logic that moves destroy back to the l

[Mesa-dev] [Bug 105832] radeonsi NIR missing bindless textures support

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105832 --- Comment #18 from b...@besd.de --- I've also changed shader capture to name shaders after the sha1 of their source + program number and noticed that shader-db compiles some of them twice with different results (happens for TGSI as well but ma

[Mesa-dev] [PATCH 2/2] gallium/pp: fix MLAA shaders

2018-04-04 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/postprocess/pp_mlaa.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.h b/src/gallium/auxiliary/postprocess/pp_mlaa.h index 85c14a786a3..3507f813781 100644 --- a/src/gallium/auxilia

[Mesa-dev] [PATCH 1/2] gallium/pp: use user constant buffers

2018-04-04 Thread Marek Olšák
From: Marek Olšák This fixes a radeonsi crash. --- src/gallium/auxiliary/cso_cache/cso_context.c | 17 src/gallium/auxiliary/cso_cache/cso_context.h | 3 +++ src/gallium/auxiliary/postprocess/pp_mlaa.c| 37 -- src/gallium/auxiliary/postprocess/pp_priva

Re: [Mesa-dev] [PATCH] gallium: add CAP for postprocess filters

2018-04-04 Thread Marek Olšák
On Wed, Apr 4, 2018 at 10:30 AM, Roland Scheidegger wrote: > Am 04.04.2018 um 05:42 schrieb Timothy Arceri: > > On 04/04/18 13:22, Roland Scheidegger wrote: > >> Am 04.04.2018 um 05:03 schrieb Timothy Arceri: > >>> On 04/04/18 12:44, Roland Scheidegger wrote: > Am 04.04.2018 um 04:32 schrieb

[Mesa-dev] [PATCH] ac/nir: Add workaround for GFX9 buffer views.

2018-04-04 Thread Bas Nieuwenhuizen
On GFX9 whether the buffer size is interpreted as elements or bytes depends on whether IDXEN is enabled in the instruction. If the index is a constant zero, LLVM optimizes IDXEN to 0. Now the size in elements is interpreted in bytes which of course results in out of bounds accesses. The correct f

Re: [Mesa-dev] [PATCH v3 013/104] nir: Support deref instructions in remove_dead_variables

2018-04-04 Thread Caio Marcelo de Oliveira Filho
Hi, > @@ -144,6 +197,45 @@ remove_dead_var_writes(nir_shader *shader, struct set > *live) > nir_instr_remove(instr); > } >} > + > + /* We walk the list of instructions backwards because we're going to > + * delete a deref and all of it's uses and we do

[Mesa-dev] [PATCH v2 06/11] i965/miptree: Extend the sRGB-blending WA to future platforms

2018-04-04 Thread Nanley Chery
The blending issue seems to be present on CNL as well. Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tre

[Mesa-dev] [PATCH v2 03/11] i965: Make the miptree clear color setter take a gl_color_union

2018-04-04 Thread Nanley Chery
We want to hide the internal details of how the miptree's clear color is calculated. Reviewed-by: Topi Pohjolainen Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.c | 5 + src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 6 +- src/mesa/drivers/dri/i965/intel_m

[Mesa-dev] [PATCH v2 02/11] i965/miptree: Move the clear color and value setter implementations

2018-04-04 Thread Nanley Chery
These will get more complex in later commits. Reviewed-by: Topi Pohjolainen Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 26 ++ src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 25 - 2 files changed, 30 insertions

[Mesa-dev] [PATCH v2 01/11] i965: Use the brw_context for the clear color and value setters

2018-04-04 Thread Nanley Chery
Do what all the other functions in the miptree API do. Reviewed-by: Topi Pohjolainen Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.c | 2 +- src/mesa/drivers/dri/i965/brw_clear.c | 2 +- src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 8 3 files ch

[Mesa-dev] [PATCH v2 07/11] i965/meta_util: Re-enable sRGB-encoded fast-clears on CNL

2018-04-04 Thread Nanley Chery
The paths which sample with the clear color are now using a getter which performs the sRGB decode needed to enable this fast clear. This path can be exercised by fast-clearing a texture, then performing an operation which requires sRGB decoding. Test coverage for this feature is provided with the

[Mesa-dev] [PATCH v2 00/11] Enable sRGB-encoded fast-clears on CNL

2018-04-04 Thread Nanley Chery
Compared to the v1, this v2 manages to restrict the uses of intel_miptree::fast_clear_color to the miptree module with less churn. Notes: * Patches 8-10 have no reviews. * Patches 10-11 are optional improvements found by inspection. Jason Ekstrand (1): util/srgb: Add a float sRGB -> linear help

[Mesa-dev] [PATCH v2 04/11] util/srgb: Add a float sRGB -> linear helper

2018-04-04 Thread Nanley Chery
From: Jason Ekstrand Reviewed-by: Nanley Chery Reviewed-by: Jason Ekstrand --- src/util/format_srgb.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/util/format_srgb.h b/src/util/format_srgb.h index 34b50afe3d1..596af56f4cd 100644 --- a/src/util/format_srgb.h +++ b/src

[Mesa-dev] [PATCH v2 10/11] i965/brw_clear: Remove extra for-loop in brw_fast_clear_depth

2018-04-04 Thread Nanley Chery
Make the algorithm easier to follow. --- src/mesa/drivers/dri/i965/brw_clear.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index 653abae2d8f..cda47bcabac 100644 -

[Mesa-dev] [PATCH v2 09/11] i965: Add and use a helper for depth miptree clear values

2018-04-04 Thread Nanley Chery
Add and use a comparison function to remove the last external user of intel_miptree::fast_color_clear. --- src/mesa/drivers/dri/i965/brw_clear.c | 2 +- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 7 +++ src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4 3 files changed, 12 in

[Mesa-dev] [PATCH v2 05/11] i965: Add and use a getter for the clear color

2018-04-04 Thread Nanley Chery
Use a getter which allows CNL to sample from sRGB textures correctly. Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.c| 4 +++- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 4 +++- src/mesa/drivers/dri/i965/intel_mipmap_tree.c| 25

  1   2   >