Re: [Mesa-dev] [PATCH 6/8] anv/android: add ahardwarebuffer external memory properties

2018-08-21 Thread Tapani Pälli
On 21.08.2018 11:27, Tapani Pälli wrote: v2: have separate memory properties for android, set usage flags for buffers correctly Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_formats.c | 71 +- 1 file changed, 70 insertions(+), 1

Re: [Mesa-dev] EGL_MESA_query_renderer

2018-08-21 Thread Nicolai Hähnle
In a separate email, Rob wrote: > so, it was earlier discussed that > glXGetScreenDriver()/glXGetDriverConfig() equivalents could be lumped > into this extension, which is I guess not what you have done. I'm fairly agnostic on this, but if you do lump it into one extension, please make the

Re: [Mesa-dev] EGL_MESA_query_renderer

2018-08-21 Thread Veluri Mithun
Hi all, On Tue, Aug 21, 2018 at 2:49 PM Emil Velikov wrote: > HI all, > > On 20 August 2018 at 20:01, Rob Clark wrote: > > +Emil since he had some interest in this extension too > > > > > Bth since I did not hear anything last week, so I sat down and wrote > the spec, implementation and tests

[Mesa-dev] [Bug 107654] Account request Kevin Rogovin

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107654 --- Comment #1 from Kevin Rogovin --- Created attachment 141235 --> https://bugs.freedesktop.org/attachment.cgi?id=141235=edit pgp-key -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

[Mesa-dev] [Bug 107654] Account request Kevin Rogovin

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107654 Bug ID: 107654 Summary: Account request Kevin Rogovin Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal

Re: [Mesa-dev] i915/swrast vertex array regression

2018-08-21 Thread Mathias Fröhlich
Ville, On Monday, 20 August 2018 15:57:07 CEST Ville Syrjälä wrote: > Seems to. Thanks for tracking it down. > > Tested-by: Ville Syrjälä Thanks for finding out how to reproduce and testing. best Mathias ___ mesa-dev mailing list

[Mesa-dev] [PATCH] tnl: Fix green gun regression in xonotic.

2018-08-21 Thread Mathias . Froehlich
From: Mathias Fröhlich Hi Ville, Brian, The below patch fixes the regression to tnl drivers that Ville reported a hand full weeks ago. Please review! best Mathias Fix an other regression of patch 64d2a2048054 mesa: Make gl_vertex_array contain pointers to first order VAO members. The

Re: [Mesa-dev] [PATCH 5/7] mesa: add EXTRA_EXT for AMD_depth_clamp_separate

2018-08-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > Signed-off-by: Sagar Ghuge > Reviewed-by: Ian Romanick > --- > src/mesa/main/get.c | 1 + > src/mesa/main/get_hash_params.py | 5 + > 2 files changed, 6 insertions(+) > > diff --git

Re: [Mesa-dev] [PATCH 1/7] glapi: define AMD_depth_clamp_separate

2018-08-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > Signed-off-by: Sagar Ghuge > Reviewed-by: Ian Romanick > --- > src/mapi/glapi/gen/AMD_depth_clamp_separate.xml | 15 +++ > src/mapi/glapi/gen/Makefile.am | 1 + >

Re: [Mesa-dev] [PATCH 4/7] mesa: add support for GL_AMD_depth_clamp_separate tokens

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > _mesa_set_enable() and _mesa_IsEnabled() extended to accept new two > tokens GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD. > > Signed-off-by: Sagar Ghuge > --- > src/mesa/main/enable.c | 36 > 1

Re: [Mesa-dev] [PATCH 3/7] mesa: Add support for AMD_depth_clamp_separate

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > Enable _mesa_PushAttrib() and _mesa_PopAttrib() to handle > GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD tokens. > > Remove DepthClamp, because DepthClampNear + DepthClampFar replaces it, > as suggested by Marek Olsak. > > Driver that

Re: [Mesa-dev] [PATCH v2 09/11] intel/nir: Use nir_shrink_vec_array_vars

2018-08-21 Thread Jason Ekstrand
On Tue, Aug 21, 2018 at 6:00 PM Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > > diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c > > index 96ad77c3906..5e9da9e1ef2 100644 > > --- a/src/intel/compiler/brw_nir.c > > +++ b/src/intel/compiler/brw_nir.c > >

[Mesa-dev] [PATCH 4/4] anv: Clamp scissors to the framebuffer boundary

2018-08-21 Thread Jason Ekstrand
The Vulkan 1.1.81 spec says: "It is legal for offset.x + extent.width or offset.y + extent.height to exceed the dimensions of the framebuffer - the scissor test still applies as defined above. Rasterization does not produce fragments outside of the framebuffer, so such fragments

[Mesa-dev] [PATCH 1/4] anv: Re-emit vertex buffers when the pipeline changes

2018-08-21 Thread Jason Ekstrand
Some of the bits of VERTEX_BUFFER_STATE such as access type, instance data step rate, and pitch come from the pipeline. Cc: mesa-sta...@lists.freedesktop.org --- src/intel/vulkan/genX_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/genX_cmd_buffer.c

[Mesa-dev] [PATCH 3/4] anv: Disable the vertex cache when tessellating on SKL GT4

2018-08-21 Thread Jason Ekstrand
I have no idea if I'm correct about what's going wrong or if this is the correct fix. However, in my multiple weeks of banging my head on this hang, a VUE reference counting bug seems to match all the symptoms and it definitely fixes the hang. Cc: mesa-sta...@lists.freedesktop.org Bugzilla:

[Mesa-dev] [PATCH 2/4] anv: Implement a VF cache invalidate workaround

2018-08-21 Thread Jason Ekstrand
Known to fix nothing whatsoever but it's in the docs. --- src/intel/vulkan/genX_cmd_buffer.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 18f80e8d1bd..75b3dd54275 100644 ---

Re: [Mesa-dev] [PATCH 1/4] gallium: Add a helper for implementing PIPE_CAP_* default values.

2018-08-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Aug 10, 2018 at 9:22 PM Eric Anholt wrote: > > One of the pains of implementing a gallium driver is filling in a million > pipe caps you don't know about yet when you're just starting out. One of > the pains of working on gallium is copy-and-pasting your

Re: [Mesa-dev] [PATCH 0/7] Implement AMD_depth_clamp_separate extension

2018-08-21 Thread Marek Olšák
You can also update release notes of 18.3 for i965. (not needed to be reviewed) Marek On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > This patch series implements AMD_depth_clamp_separate extension. > Previously I sent patches for comments and based on Ian and Marek's > suggestions, I

[Mesa-dev] [Bug 107653] lp_test_blend fails with llvm-8.0svn

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107653 Roland Scheidegger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 106231] llvmpipe blends produce bad code after llvm patch https://reviews.llvm.org/D44785

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106231 Roland Scheidegger changed: What|Removed |Added CC||v...@freedesktop.org --- Comment

Re: [Mesa-dev] [PATCH 2/7] mesa: Add types for AMD_depth_clamp_separate.

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > Add some basic types and storage for the AMD_depth_clamp_separate > extension. > > Signed-off-by: Sagar Ghuge > --- > include/GL/glcorearb.h | 2 ++ > src/mesa/main/extensions_table.h | 1 + > src/mesa/main/mtypes.h | 3

[Mesa-dev] [PATCH] ac: fix WAITCNT flags for GFX9

2018-08-21 Thread Marek Olšák
From: Marek Olšák --- src/amd/common/ac_llvm_build.h| 6 ++ src/amd/common/ac_nir_to_llvm.c | 4 src/gallium/drivers/radeonsi/si_shader_internal.h | 5 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 05/12] amd/addrlib: mark physicalSliceSize as MAYBE_UNUSED in Addr::V1::EgBasedLib::HwlGetSizeAdjustmentMicroTiled

2018-08-21 Thread Marek Olšák
Get you send me a "git fetch" line that I can use to download your patches? Thanks, Marek On Tue, Aug 21, 2018 at 11:30 AM Kai Wasserbäch wrote: > > Hey Marek, > Marek Olšák wrote on 8/21/18 2:23 AM: > > I've sent comments on patches 3 & 4. With those addressed, patches 1-5 are: > > > >

Re: [Mesa-dev] [PATCH 04/12] amd/addrlib: mark numPipes as MAYBE_UNUSED in Addr::V1::EgBasedLib::SanityCheckMacroTiled (v2)

2018-08-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 21, 2018 at 11:25 AM Kai Wasserbäch wrote: > > Only used, when asserts are enabled. > > Fixes an unused-variable warning with GCC 8: > ../../../src/amd/addrlib/r800/egbaddrlib.cpp: In member function 'int >

Re: [Mesa-dev] [PATCH 03/12] amd/addrlib: mark *pEqToCheck as MAYBE_UNUSED in Addr::V2::Gfx9Lib::ComputeStereoInfo (v2)

2018-08-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 21, 2018 at 11:25 AM Kai Wasserbäch wrote: > > Only used, when asserts are enabled. > > Fixes an unused-variable warning with GCC 8: > ../../../src/amd/addrlib/gfx9/gfx9addrlib.cpp: In member function > 'ADDR_E_RETURNCODE

Re: [Mesa-dev] [PATCH v2 08/11] nir: Add a array-of-vector variable shrinking pass

2018-08-21 Thread Caio Marcelo de Oliveira Filho
On Tue, Aug 21, 2018 at 06:15:20PM -0500, Jason Ekstrand wrote: > On Tue, Aug 21, 2018 at 5:55 PM Caio Marcelo de Oliveira Filho < > caio.olive...@intel.com> wrote: > > > Hi, > > > > On Sat, Jul 28, 2018 at 10:44:39PM -0700, Jason Ekstrand wrote: > > > This pass looks for variables with vector or

Re: [Mesa-dev] [PATCH 2/9] radeonsi/gfx9: fix WAITCNT flags

2018-08-21 Thread Marek Olšák
Yeah, I can do that. Marek On Tue, Aug 21, 2018 at 3:00 AM Samuel Pitoiset wrote: > > Can you also fix ac? How about moving those constants inside a header > and prefix them with AC_? > > On 8/21/18 5:23 AM, Marek Olšák wrote: > > From: Marek Olšák > > > > --- > >

Re: [Mesa-dev] [PATCH v2 10/11] nir: Add an array copy optimization

2018-08-21 Thread Caio Marcelo de Oliveira Filho
On Sat, Jul 28, 2018 at 10:44:41PM -0700, Jason Ekstrand wrote: > This peephole optimization looks for a series of load/store_deref or > copy_deref instructions that copy an array from one variable to another > and turns it into a copy_deref that copies the entire array. The > pattern it looks

[Mesa-dev] [Bug 107653] lp_test_blend fails with llvm-8.0svn

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107653 Bug ID: 107653 Summary: lp_test_blend fails with llvm-8.0svn Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: All Status: NEW Keywords: bisected,

[Mesa-dev] [PATCH 5/7] mesa: add EXTRA_EXT for AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Signed-off-by: Sagar Ghuge Reviewed-by: Ian Romanick --- src/mesa/main/get.c | 1 + src/mesa/main/get_hash_params.py | 5 + 2 files changed, 6 insertions(+) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 6b2e3637e6..92020e29a9 100644 --- a/src/mesa/main/get.c +++

[Mesa-dev] [PATCH 6/7] i965: add functional changes for AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Gen >= 9 have ability to control clamping of depth values separately at near and far plane. z_w is clamped to the range [min(n,f), 0] if clamping at near plane is enabled, [0, max(n,f)] if clamping at far plane is enabled and [min(n,f) max(n,f)] if clamping at both plane is enabled.

[Mesa-dev] [PATCH 0/7] Implement AMD_depth_clamp_separate extension

2018-08-21 Thread Sagar Ghuge
This patch series implements AMD_depth_clamp_separate extension. Previously I sent patches for comments and based on Ian and Marek's suggestions, I did some changes. 1) Get rid of DepthClamp as DepthClampNear + DepthClampFar replaces it (Marek Olsak & Ian Romanick) 2) Make sure that patch

[Mesa-dev] [PATCH 2/7] mesa: Add types for AMD_depth_clamp_separate.

2018-08-21 Thread Sagar Ghuge
Add some basic types and storage for the AMD_depth_clamp_separate extension. Signed-off-by: Sagar Ghuge --- include/GL/glcorearb.h | 2 ++ src/mesa/main/extensions_table.h | 1 + src/mesa/main/mtypes.h | 3 +++ 3 files changed, 6 insertions(+) diff --git

[Mesa-dev] [PATCH 7/7] i965: enable AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Signed-off-by: Sagar Ghuge --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index f1c3aeff13..f07d3ab601 100644 ---

[Mesa-dev] [PATCH 1/7] glapi: define AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Signed-off-by: Sagar Ghuge Reviewed-by: Ian Romanick --- src/mapi/glapi/gen/AMD_depth_clamp_separate.xml | 15 +++ src/mapi/glapi/gen/Makefile.am | 1 + src/mapi/glapi/gen/gl_API.xml | 3 +++ src/mapi/glapi/gen/meson.build | 1 +

[Mesa-dev] [PATCH 3/7] mesa: Add support for AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Enable _mesa_PushAttrib() and _mesa_PopAttrib() to handle GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD tokens. Remove DepthClamp, because DepthClampNear + DepthClampFar replaces it, as suggested by Marek Olsak. Driver that enables AMD_depth_clamp_separate will only ever look at

[Mesa-dev] [PATCH 4/7] mesa: add support for GL_AMD_depth_clamp_separate tokens

2018-08-21 Thread Sagar Ghuge
_mesa_set_enable() and _mesa_IsEnabled() extended to accept new two tokens GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD. Signed-off-by: Sagar Ghuge --- src/mesa/main/enable.c | 36 1 file changed, 36 insertions(+) diff --git a/src/mesa/main/enable.c

Re: [Mesa-dev] [PATCH v2 08/11] nir: Add a array-of-vector variable shrinking pass

2018-08-21 Thread Jason Ekstrand
On Tue, Aug 21, 2018 at 5:55 PM Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > Hi, > > On Sat, Jul 28, 2018 at 10:44:39PM -0700, Jason Ekstrand wrote: > > This pass looks for variables with vector or array-of-vector types and > > narrows the type to only the components used. >

Re: [Mesa-dev] [PATCH v2 09/11] intel/nir: Use nir_shrink_vec_array_vars

2018-08-21 Thread Caio Marcelo de Oliveira Filho
> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c > index 96ad77c3906..5e9da9e1ef2 100644 > --- a/src/intel/compiler/brw_nir.c > +++ b/src/intel/compiler/brw_nir.c > @@ -542,6 +542,7 @@ brw_nir_optimize(nir_shader *nir, const struct > brw_compiler *compiler, > do { >

Re: [Mesa-dev] [PATCH v2 08/11] nir: Add a array-of-vector variable shrinking pass

2018-08-21 Thread Caio Marcelo de Oliveira Filho
Hi, On Sat, Jul 28, 2018 at 10:44:39PM -0700, Jason Ekstrand wrote: > This pass looks for variables with vector or array-of-vector types and > narrows the type to only the components used. > --- > src/compiler/nir/nir.h| 1 + > src/compiler/nir/nir_split_vars.c | 694

[Mesa-dev] [Bug 107610] Dolphin emulator mis-renders shadow overlay in Super Mario Sunshine

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107610 --- Comment #6 from Christopher Snowhill --- Okay, here you go, I was still able to reproduce the effect on AMD: https://f.losno.co/delfino-plaza-amd.tar.xz -- You are receiving this mail because: You are the assignee for the bug. You are

[Mesa-dev] [Bug 107610] Dolphin emulator mis-renders shadow overlay in Super Mario Sunshine

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107610 --- Comment #5 from Christopher Snowhill --- And I can't report it on AMD because I removed the card. I can reinstall it if it's absolutely necessary. I really hate constantly swapping my video card out. -- You are receiving this mail

[Mesa-dev] [Bug 107594] [PATCH] fix crosscompilling with meson

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107594 --- Comment #2 from Gluzskiy Alexandr --- it solve problem building on x86_64 for x86 -- You are receiving this mail because: You are the QA Contact for the bug.___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH v2 2/2] intel/fs: Improve liveness range calculation for partial writes

2018-08-21 Thread Francisco Jerez
Jose Maria Casanova Crespo writes: > We use the information of the registers read/write patterns > to improve variable liveness analysis avoiding extending the > liveness range of a variable to the beginning of the block so > it always reaches the beginning of the shader. > > This optimization

Re: [Mesa-dev] [PATCH 2/2] intel/toosl/aubwrite: Always use physical addresses for traces.

2018-08-21 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 21/08/2018 18:38, Rafael Antognolli wrote: It looks like we can't rely on the simulator to always translate virtual addresses to physical ones correctly. So let's use physical everywhere. Since our current GGTT maps virtual to physical addresses in a 1:1 way,

Re: [Mesa-dev] [PATCH 1/2] intel/tools/aubwrite: Rename "legacy" to "Trace Block".

2018-08-21 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 21/08/2018 18:38, Rafael Antognolli wrote: Hopefully it's a little more descriptive, and more accurate. Cc: Lionel Landwerlin --- src/intel/tools/aub_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/aub_write.c

Re: [Mesa-dev] [PATCH] radv: drop wrong initialization of COMPUTE_RESOURCE_LIMITS

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 2:26 PM Andres Rodriguez wrote: > > > > On 2018-08-21 01:54 PM, Marek Olšák wrote: > > Note that WAVES_PER_SH should be 0x3ff on the compute ring for the > > ring priorities to be applied. > > Correct, we would need to set WAVES_PER_SH during pipeline creation. > > > I

Re: [Mesa-dev] [PATCH v5 1/2] intel/fs: New methods dst_write_pattern and src_read_pattern at fs_inst

2018-08-21 Thread Francisco Jerez
Jose Maria Casanova Crespo writes: > These new methods return for a instruction register source/destination > the read/write byte pattern of the 32-byte GRF as an unsigned int. > > The returned pattern takes into account the exec_size of the instruction, > the type bitsize, the register stride

[Mesa-dev] [PATCH] [rfc] r600: set vpm bit for loop start clause (v2)

2018-08-21 Thread Dave Airlie
From: Dave Airlie This fixes some hangs with the arb_shader_image_load_store-atomicity tests on evergreen/cayman GPUs. I'm not 100% sure why (VPM hurts my brain), I'm running some piglit runs to see if it has any bad side effects. v2: only set the vpm flags when an atomic operation is done.

Re: [Mesa-dev] XDC 2018: Call for Papers

2018-08-21 Thread Daniel Vetter
Hi all, We received an overwhelming response for this CFP - 35+ proposals (and still some latecomers trickling in), for only 18 slots. What we didn't much get (and the CFP failed to make it clear that we're looking for this) is proposals for the workshop/discussion track in the 2nd room. In the

Re: [Mesa-dev] [PATCH] radv: drop wrong initialization of COMPUTE_RESOURCE_LIMITS

2018-08-21 Thread Andres Rodriguez
On 2018-08-21 01:54 PM, Marek Olšák wrote: Note that WAVES_PER_SH should be 0x3ff on the compute ring for the ring priorities to be applied. Correct, we would need to set WAVES_PER_SH during pipeline creation. I don't know if you need to do the same thing for the gfx ring. You can ask

Re: [Mesa-dev] [PATCH] radv: drop wrong initialization of COMPUTE_RESOURCE_LIMITS

2018-08-21 Thread Marek Olšák
Note that WAVES_PER_SH should be 0x3ff on the compute ring for the ring priorities to be applied. I don't know if you need to do the same thing for the gfx ring. You can ask Andres for more info. Marek On Tue, Aug 14, 2018 at 12:10 PM Samuel Pitoiset wrote: > > The last parameter of

Re: [Mesa-dev] [PATCH 6/7] radeonsi: let internal compute dispatches tune WAVES_PER_SH

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 3:36 AM Samuel Pitoiset wrote: > > > > On 8/21/18 9:36 AM, Samuel Pitoiset wrote: > > Why don't you set cs_max_waves_per_sh? Did you miss something? > > Nevermind, it's used in the next patch. Yes, this patch just adds the state. The state is always applied, so it doesn't

[Mesa-dev] [PATCH 1/2] intel/tools/aubwrite: Rename "legacy" to "Trace Block".

2018-08-21 Thread Rafael Antognolli
Hopefully it's a little more descriptive, and more accurate. Cc: Lionel Landwerlin --- src/intel/tools/aub_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/aub_write.c b/src/intel/tools/aub_write.c index e92bdaf5ed4..5d59b4ef28a 100644 ---

[Mesa-dev] [PATCH 2/2] intel/toosl/aubwrite: Always use physical addresses for traces.

2018-08-21 Thread Rafael Antognolli
It looks like we can't rely on the simulator to always translate virtual addresses to physical ones correctly. So let's use physical everywhere. Since our current GGTT maps virtual to physical addresses in a 1:1 way, no further changes are required. Additionally, we have other address spaces not

[Mesa-dev] [Bug 99014] clover is broken for Oland in 12.0.4

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99014 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs:

Re: [Mesa-dev] [PATCH 00/13] Implement INTEL_shader_atomic_float_minmax

2018-08-21 Thread Ian Romanick
On 08/21/2018 06:10 AM, Axel Davy wrote: > On 23/06/2018 07:03, Ian Romanick wrote: >> I initially started implementing support for NV_shader_atomic_float.  I >> had misunderstood the hardware specs, and Intel hardware cannot actually >> do that extension.  It does have some floating-point atomic

Re: [Mesa-dev] [PATCH] travis: SWR requires LLVM 6.0

2018-08-21 Thread Eric Engestrom
On Tuesday, 2018-08-21 12:35:15 +0200, Juan A. Suarez Romero wrote: > Cc: Dylan Baker > Cc: Eric Engestrom Fixes: 0cef0cccf51fc20d797e "swr: bump minimum supported LLVM version to 6.0" Acked-by: Eric Engestrom > --- > .travis.yml | 24 ++-- > 1 file changed, 10

Re: [Mesa-dev] [PATCH 05/12] amd/addrlib: mark physicalSliceSize as MAYBE_UNUSED in Addr::V1::EgBasedLib::HwlGetSizeAdjustmentMicroTiled

2018-08-21 Thread Kai Wasserbäch
Hey Marek, Marek Olšák wrote on 8/21/18 2:23 AM: > I've sent comments on patches 3 & 4. With those addressed, patches 1-5 are: > > Reviewed-by: Marek Olšák thanks for the review! I've just sent updated versions of patches 3 and 4. (Just as a side note: I only reindented the other variable

[Mesa-dev] [PATCH 04/12] amd/addrlib: mark numPipes as MAYBE_UNUSED in Addr::V1::EgBasedLib::SanityCheckMacroTiled (v2)

2018-08-21 Thread Kai Wasserbäch
Only used, when asserts are enabled. Fixes an unused-variable warning with GCC 8: ../../../src/amd/addrlib/r800/egbaddrlib.cpp: In member function 'int Addr::V1::EgBasedLib::SanityCheckMacroTiled(ADDR_TILEINFO*) const': ../../../src/amd/addrlib/r800/egbaddrlib.cpp:982:13: warning: unused

[Mesa-dev] [PATCH 03/12] amd/addrlib: mark *pEqToCheck as MAYBE_UNUSED in Addr::V2::Gfx9Lib::ComputeStereoInfo (v2)

2018-08-21 Thread Kai Wasserbäch
Only used, when asserts are enabled. Fixes an unused-variable warning with GCC 8: ../../../src/amd/addrlib/gfx9/gfx9addrlib.cpp: In member function 'ADDR_E_RETURNCODE Addr::V2::Gfx9Lib::ComputeStereoInfo(const ADDR2_COMPUTE_SURFACE_INFO_INPUT*, ADDR2_COMPUTE_SURFACE_INFO_OUTPUT*, unsigned

Re: [Mesa-dev] [PATCH 3/5] egl/android: remove droid_probe_driver()

2018-08-21 Thread Tomasz Figa
Hi Emil, On Mon, Aug 20, 2018 at 10:47 PM Emil Velikov wrote: > > On 13 August 2018 at 17:18, Tomasz Figa wrote: > > On Tue, Aug 14, 2018 at 1:09 AM Emil Velikov > > wrote: > >> > >> On 13 August 2018 at 16:43, Tomasz Figa wrote: > >> > On Tue, Aug 14, 2018 at 12:35 AM Emil Velikov > >> >

Re: [Mesa-dev] [PATCH 6/5] egl/android: continue to next device if dri2_create_screen fails

2018-08-21 Thread Tomasz Figa
Hi Emil, On Tue, Aug 14, 2018 at 2:05 AM Emil Velikov wrote: > > From: Emil Velikov > > Unlike the other platforms, here we aim do guess if the device that we > somewhat arbitrarily picked, is supported or not. > > It seems a bit fiddly, but considering EGL_EXT_explicit_device and >

Re: [Mesa-dev] [PATCH 00/13] Implement INTEL_shader_atomic_float_minmax

2018-08-21 Thread Axel Davy
On 23/06/2018 07:03, Ian Romanick wrote: I initially started implementing support for NV_shader_atomic_float. I had misunderstood the hardware specs, and Intel hardware cannot actually do that extension. It does have some floating-point atomic support, so I decided to create an extension based

Re: [Mesa-dev] [PATCH mesa] autotools: don't ship the git_sha1.h generated in git in the tarballs

2018-08-21 Thread Emil Velikov
On 21 August 2018 at 13:04, Eric Engestrom wrote: > This file is regenerated at build time anyway, so this would just get > overwritten anyway. No reason to ship it in the tarball. > > Fixes: 44df06211cf2c301f6ef "autotools: include git_sha1.h in dist tarball" > Fixes: 471f708ed6f4787813d0

Re: [Mesa-dev] [PATCH mesa] autotools: don't ship the git_sha1.h generated in git in the tarballs

2018-08-21 Thread Juan A. Suarez Romero
On Tue, 2018-08-21 at 13:04 +0100, Eric Engestrom wrote: > This file is regenerated at build time anyway, so this would just get > overwritten anyway. No reason to ship it in the tarball. > > Fixes: 44df06211cf2c301f6ef "autotools: include git_sha1.h in dist tarball" > Fixes: 471f708ed6f4787813d0

[Mesa-dev] [PATCH mesa] autotools: don't ship the git_sha1.h generated in git in the tarballs

2018-08-21 Thread Eric Engestrom
This file is regenerated at build time anyway, so this would just get overwritten anyway. No reason to ship it in the tarball. Fixes: 44df06211cf2c301f6ef "autotools: include git_sha1.h in dist tarball" Fixes: 471f708ed6f4787813d0 "git_sha1: simplify logic" Cc: Juan A. Suarez Romero

Re: [Mesa-dev] [PATCH] i965/batch: don't ignore the 'brw_new_batch' call for a 'new batch'

2018-08-21 Thread andrey simiklit
Hi all, The bug for this issue was created: https://bugs.freedesktop.org/show_bug.cgi?id=107626 Regards, Andrii. On Mon, Aug 20, 2018 at 5:43 PM, wrote: > From: Andrii Simiklit > > If we restore the 'new batch' using 'intel_batchbuffer_reset_to_saved' > function we must restore the default

[Mesa-dev] [PATCH] travis: SWR requires LLVM 6.0

2018-08-21 Thread Juan A. Suarez Romero
Cc: Dylan Baker Cc: Eric Engestrom --- .travis.yml | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32cd8602e6f..f51ff026e9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -98,10 +98,8 @@ matrix: - BUILD=make

[Mesa-dev] [PATCH] docs: add forgotten features to 18.2.0 release notes

2018-08-21 Thread Rhys Perry
Signed-off-by: Rhys Perry Cc: 18.2: --- docs/relnotes/18.2.0.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/relnotes/18.2.0.html b/docs/relnotes/18.2.0.html index fb7a12f285..8afcb59d16 100644 --- a/docs/relnotes/18.2.0.html +++ b/docs/relnotes/18.2.0.html @@ -59,6 +59,9 @@

Re: [Mesa-dev] [PATCH mesa] egl: add helper to combine two u32 into one u64

2018-08-21 Thread Emil Velikov
On 18 August 2018 at 13:57, Eric Engestrom wrote: > The original issue spotted was an upcast done after a bitwise ops, but > since the same logic is done in multiple place, Emil suggested adding > a helper to avoid mistakes. > Thank you. > Signed-off-by: Eric Engestrom > --- >

Re: [Mesa-dev] [PATCH] glsl/linker: Allow unused in blocks which are not declated on previous stage

2018-08-21 Thread Vadym Shovkoplias
Hi Timothy, Alejandro, Thanks for the review comments! I'd just like to mention that the same approach is already used in link_varyings.cpp file in function cross_validate_outputs_to_inputs(). Here is a code snippet: if (*input->data.used *&& !input->get_interface_type() &&

Re: [Mesa-dev] [PATCH] Add NV_fragment_shader_interlock support.

2018-08-21 Thread Emil Velikov
Hi Kevin, On 20 August 2018 at 15:11, Kevin Rogovin wrote: > Hi Plamena, > > Thankyou for the fast review. Can you push it or have someone push it? (I > do not have push rights) > You have contributed a number of good patches in Mesa, always listening to feedback. I would welcome if you're

Re: [Mesa-dev] [PATCH mesa] egl: add helper to combine two u32 into one u64

2018-08-21 Thread Daniel Stone
Hi Eric, On Sat, 18 Aug 2018 at 13:58, Eric Engestrom wrote: > The original issue spotted was an upcast done after a bitwise ops, but > since the same logic is done in multiple place, Emil suggested adding > a helper to avoid mistakes. Works for me. The original issue we had was not so much

Re: [Mesa-dev] [PATCH] Add NV_fragment_shader_interlock support.

2018-08-21 Thread Manolova, Plamena
Sure thing! -Pam On Mon, Aug 20, 2018 at 3:25 PM, Kevin Rogovin wrote: > Hi Plamena, > > Thankyou for the fast review. Can you push it or have someone push it? (I > do not have push rights) > > -Keviv > > On Mon, Aug 20, 2018 at 2:50 PM, Manolova, Plamena < > plamena.manol...@intel.com>

Re: [Mesa-dev] [PATCH] glsl/linker: Allow unused in blocks which are not declated on previous stage

2018-08-21 Thread Alejandro Piñeiro
On 21/08/18 03:02, Timothy Arceri wrote: > On 20/08/18 23:31, vadym.shovkoplias wrote: >>  From Section 4.3.4 (Inputs) of the GLSL 1.50 spec: >> >> "Only the input variables that are actually read need to be written >>   by the previous stage; it is allowed to have superfluous >>  

[Mesa-dev] [PATCH 8/8] anv/android: turn on VK_ANDROID_external_memory_android_hardware_buffer

2018-08-21 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py index cafb6060c6b..f5d126edf6b 100644 --- a/src/intel/vulkan/anv_extensions.py +++

[Mesa-dev] [PATCH 3/8] anv/android: add GetAndroidHardwareBufferPropertiesANDROID

2018-08-21 Thread Tapani Pälli
When adding YUV support, we need to figure out implementation-defined external format identifier. Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_android.c | 99 ++ 1 file changed, 99 insertions(+) diff --git a/src/intel/vulkan/anv_android.c

[Mesa-dev] [PATCH 4/8] anv: add create_flags as part of anv_image

2018-08-21 Thread Tapani Pälli
These will be utilized later when we need to set usage flags for android hardware buffers correctly based both on image usage flags and it's creation flags. Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_image.c | 1 + src/intel/vulkan/anv_private.h | 1 + 2 files changed, 2

[Mesa-dev] [PATCH 0/8] VK_ANDROID_external_memory_android_hardware_buffer

2018-08-21 Thread Tapani Pälli
Hi; I finally got dEQP happy with this so not RFC anymore but I consider this ready for proper review. It was mainly lacking proper handling of usage flags in vkGetPhysicalDeviceImageFormatProperties2 and when creating exportable memory in vkAllocateMemory. Any comments appreciated! // Tapani

[Mesa-dev] [PATCH 7/8] anv/android: support creating images from external format

2018-08-21 Thread Tapani Pälli
Since we don't know the exact format at creation time, some initialization is done only when bound with memory in vkBindImageMemory. v2: demand dedicated allocation in vkGetImageMemoryRequirements2 if image has external format Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_android.c

[Mesa-dev] [PATCH 5/8] anv/android: support import/export of AHardwareBuffer objects

2018-08-21 Thread Tapani Pälli
v2: add support for non-image buffers (AHARDWAREBUFFER_FORMAT_BLOB) v3: properly handle usage bits when creating from image Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_android.c | 149 + src/intel/vulkan/anv_device.c | 46 -

[Mesa-dev] [PATCH 1/8] anv: make anv_get_image_format_features public

2018-08-21 Thread Tapani Pälli
This will be utilized later by GetAndroidHardwareBufferPropertiesANDROID. Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_formats.c | 22 +++--- src/intel/vulkan/anv_private.h | 5 + 2 files changed, 16 insertions(+), 11 deletions(-) diff --git

[Mesa-dev] [PATCH 6/8] anv/android: add ahardwarebuffer external memory properties

2018-08-21 Thread Tapani Pälli
v2: have separate memory properties for android, set usage flags for buffers correctly Signed-off-by: Tapani Pälli --- src/intel/vulkan/anv_formats.c | 71 +- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_formats.c

[Mesa-dev] [PATCH 2/8] anv: add from/to helpers with android and vulkan formats

2018-08-21 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/intel/vulkan/vk_format_info.h | 43 +++ 1 file changed, 43 insertions(+) diff --git a/src/intel/vulkan/vk_format_info.h b/src/intel/vulkan/vk_format_info.h index a1cc6952c8f..0ae0a2d43ee 100644 ---

Re: [Mesa-dev] [PATCH] i965: Advertise 8 bits subpixel precision for viewport bounds on gen6+

2018-08-21 Thread Danylo Piliaiev
The patch seems to be safe, so yes, thanks. On 8/21/18 1:17 AM, Andres Gomez wrote: Danylo, should we also include this in the stable queues ? On Mon, 2018-06-18 at 15:50 +0300, Danylo Piliaiev wrote: We use floating-points for viewport bounds so VIEWPORT_SUBPIXEL_BITS should reflect this.

[Mesa-dev] [Bug 106958] Mass Effect Andromeda renders correctly on RX480 POLARIS but BAD ON RX VEGA 64 on wine 3.10 stagingf with DXVK

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106958 soredake changed: What|Removed |Added CC||fds...@krutt.org -- You are receiving this

Re: [Mesa-dev] [PATCH] i965: Advertise 8 bits subpixel precision for viewport bounds on gen6+

2018-08-21 Thread Lionel Landwerlin
Hey Andres, Yes, it should. Sorry I missed the Cc stable in the patch. Thanks for paying attention :) - Lionel On 20/08/2018 23:17, Andres Gomez wrote: Danylo, should we also include this in the stable queues ? On Mon, 2018-06-18 at 15:50 +0300, Danylo Piliaiev wrote: We use

[Mesa-dev] [Bug 107477] [DXVK] Setting high shader quality in GTA V results in LLVM error

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107477 --- Comment #2 from Samuel Pitoiset --- Can you try to reproduce the crash with RADV_DEBUG=shaders,preoptir and upload the output somewhere? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for

Re: [Mesa-dev] [PATCH] radv: use ac_build_imad()

2018-08-21 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Tue, Aug 21, 2018 at 9:49 AM, Samuel Pitoiset wrote: > This should be applied on top of "ac: add imad & fmad helpers". > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_nir_to_llvm.c | 24 > 1 file changed, 8

[Mesa-dev] [PATCH] radv: use ac_build_imad()

2018-08-21 Thread Samuel Pitoiset
This should be applied on top of "ac: add imad & fmad helpers". Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_to_llvm.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/amd/vulkan/radv_nir_to_llvm.c

Re: [Mesa-dev] [PATCH] gallium/winsys/kms: don't unmap what wasn't mapped

2018-08-21 Thread Ray Strode
hi, On Thu, Aug 16, 2018, 4:48 PM Lepton Wu wrote: > > Does https://patchwork.freedesktop.org/patch/238931/ already fix this? > What's the advantage to use MAP_FAILED instead of NULL? yea that patch should work fine, i didnt see it go by. the advantage of MAP_FAILED is it's more fault

Re: [Mesa-dev] [PATCH] Add NV_fragment_shader_interlock support.

2018-08-21 Thread Kevin Rogovin
Hi Plamena, Thankyou for the fast review. Can you push it or have someone push it? (I do not have push rights) -Keviv On Mon, Aug 20, 2018 at 2:50 PM, Manolova, Plamena < plamena.manol...@intel.com> wrote: > Hi Kevin, > This looks good to me :) > > Reviewed-by: Plamena Manolova > > On Wed,

Re: [Mesa-dev] [PATCH 6/7] radeonsi: let internal compute dispatches tune WAVES_PER_SH

2018-08-21 Thread Samuel Pitoiset
On 8/21/18 9:36 AM, Samuel Pitoiset wrote: Why don't you set cs_max_waves_per_sh? Did you miss something? Nevermind, it's used in the next patch. On 8/21/18 7:50 AM, Marek Olšák wrote: From: Marek Olšák ---   src/gallium/drivers/radeonsi/si_compute.c | 8  

Re: [Mesa-dev] [PATCH 6/7] radeonsi: let internal compute dispatches tune WAVES_PER_SH

2018-08-21 Thread Samuel Pitoiset
Why don't you set cs_max_waves_per_sh? Did you miss something? On 8/21/18 7:50 AM, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeonsi/si_compute.c | 8 src/gallium/drivers/radeonsi/si_pipe.h| 1 + 2 files changed, 9 insertions(+) diff --git

Re: [Mesa-dev] [PATCH 9/9] ac, radeonsi: use ac_build_gather_values more

2018-08-21 Thread Samuel Pitoiset
Patches 3-9 are: Reviewed-by: Samuel Pitoiset On 8/21/18 5:23 AM, Marek Olšák wrote: From: Marek Olšák --- src/amd/common/ac_nir_to_llvm.c | 14 +++ src/gallium/drivers/radeonsi/si_shader.c | 8 +++--- .../drivers/radeonsi/si_shader_tgsi_mem.c | 25

Re: [Mesa-dev] [PATCH 1/9] ac: completely remove +auto-waitcnt-before-barrier

2018-08-21 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 8/21/18 5:23 AM, Marek Olšák wrote: From: Marek Olšák it causes corruption on several different GPU generations. Cc: 18.2 --- src/amd/common/ac_llvm_util.c | 7 ++- src/amd/common/ac_llvm_util.h | 1 -

Re: [Mesa-dev] [PATCH 2/9] radeonsi/gfx9: fix WAITCNT flags

2018-08-21 Thread Samuel Pitoiset
Can you also fix ac? How about moving those constants inside a header and prefix them with AC_? On 8/21/18 5:23 AM, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader_internal.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [Bug 107610] Dolphin emulator mis-renders shadow overlay in Super Mario Sunshine

2018-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107610 --- Comment #4 from Samuel Pitoiset --- According to renderdoc logs you recorded the trace on NVIDIA, is that expected? The trace is incompatible. -- You are receiving this mail because: You are the assignee for the bug. You are the QA

Re: [Mesa-dev] [PATCH] autotools: include git_sha1.h in dist tarball

2018-08-21 Thread Juan A. Suarez Romero
On Mon, 2018-08-20 at 21:32 +0100, Eric Engestrom wrote: > On Monday, 2018-08-20 14:23:28 +, Juan A. Suarez Romero wrote: > > This fixes `make distcheck`. > > > > Fixes: 471f708ed6 ("git_sha1: simplify logic") > > CC: Eric Engestrom > > --- > > src/Makefile.am | 2 +- > > 1 file changed, 1

  1   2   >