Re: [Mesa-dev] [PATCH v3] nir/linker: Add the start of a pure-NIR linker for XFB

2018-07-27 Thread Timothy Arceri
On 24/07/18 23:29, Alejandro Piñeiro wrote: From: Neil Roberts v2: ignore names on purpose, for consistency with other places where we are doing the same (Alejandro) v3: changes proposed by Timothy Arceri, implemented by Alejandro Piñeiro: * Remove redundant 'struct

Re: [Mesa-dev] [PATCH 04/15] mesa/glspirv: Set last_vert_prog

2018-07-27 Thread Timothy Arceri
On 21/07/18 01:08, Alejandro Piñeiro wrote: From: Neil Roberts --- src/mesa/main/glspirv.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index 8ad6c373914..ba4a8253671 100644 --- a/src/mesa/main/glspirv.c +++

Re: [Mesa-dev] [PATCH 05/15] spirv: Handle the SpvDecorationStream decoration

2018-07-27 Thread Timothy Arceri
Reviewed-by: Timothy Arceri On 21/07/18 01:08, Alejandro Piñeiro wrote: From: Neil Roberts This just sets the stream on the nir_variable. --- src/compiler/spirv/vtn_variables.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compiler/spirv/vtn_variables.c

[Mesa-dev] [Bug 107224] Incorrect Rendering in Deus Ex: Mankind Divided in-game menu

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107224 --- Comment #8 from Timothy Arceri --- (In reply to Alex Smith from comment #7) > Thanks for confirming. > > It looks like we have a bug where we fail to identify Mesa properly as a > result of compatibility profile support being added, which

Re: [Mesa-dev] [PATCH v3 1/8] nir: evaluate if condition uses inside the if branches

2018-07-27 Thread Timothy Arceri
On 28/07/18 11:06, Timothy Arceri wrote: Since we know what side of the branch we ended up on we can just replace the use with a constant. All the spill changes in shader-db are from Dolphin uber shaders, despite some small regressions the change is clearly positive. V2: insert new constant

[Mesa-dev] [PATCH v2 1/8] nir: evaluate if condition uses inside the if branches

2018-07-27 Thread Timothy Arceri
Since we know what side of the branch we ended up on we can just replace the use with a constant. All the spill changes in shader-db are from Dolphin uber shaders, despite some small regressions the change is clearly positive. V2: insert new constant after any phis in the

Re: [Mesa-dev] [PATCH 1/2] intel/fs: New method for register_byte_use_pattern for fs_inst

2018-07-27 Thread Francisco Jerez
Chema Casanova writes: > El 27/07/18 a las 02:44, Francisco Jerez escribió: >> Chema Casanova writes: >> >>> El 26/07/18 a las 20:02, Francisco Jerez escribió: Chema Casanova writes: > El 20/07/18 a las 22:10, Francisco Jerez escribió: >> Chema Casanova writes: >>

Re: [Mesa-dev] [PATCH 1/2] nir: Export deref comparison functions

2018-07-27 Thread Timothy Arceri
On 28/07/18 07:51, Caio Marcelo de Oliveira Filho wrote: --- src/compiler/nir/nir_deref.c | 111 + src/compiler/nir/nir_deref.h | 10 ++ src/compiler/nir/nir_opt_copy_prop_vars.c | 145 ++ 3 files changed, 134 insertions(+),

Re: [Mesa-dev] [PATCH] xlib: fix build break from _swrast_map_soft_renderbuffer() call

2018-07-27 Thread Clayton Craft
Quoting Brian Paul (2018-07-27 14:19:13) > We need to pass the new flip_y argument. > --- > src/mesa/drivers/x11/xm_buffer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/drivers/x11/xm_buffer.c > b/src/mesa/drivers/x11/xm_buffer.c > index 97c7814..9c5383b

Re: [Mesa-dev] [PATCH 07/12] nir: Add an array splitting pass

2018-07-27 Thread Timothy Arceri
On 27/07/18 02:00, Jason Ekstrand wrote: This pass looks for array variables where at least one level of the array is never indirected and splits it into multiple smaller variables. --- src/compiler/nir/nir.h| 1 + src/compiler/nir/nir_split_vars.c | 525

[Mesa-dev] [PATCH] intel/isl: Avoid tiling on 16K-wide render targets

2018-07-27 Thread Nanley Chery
Fix rendering issues on BDW and SKL. Fixes 0288fe8d0417730bdd5b3477130dd1dc32bdbcd3 ("i965/miptree: Use the correct BLT pitch") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107359 Cc: --- We could probably add an assert when filling out the surface state, but I think BLORP would need

Re: [Mesa-dev] [PATCH] i965/miptree: Fix can_blit_slice()

2018-07-27 Thread Nanley Chery
On Tue, Jul 24, 2018 at 03:28:09PM +0300, Andres Gomez wrote: > Hi Nanley, > > I'm observing regressions for SKL and BDW which doesn't seem to be > solved with this new patch, in git master. Therefore, I've gone ahead > and reported: > https://bugs.freedesktop.org/show_bug.cgi?id=107359 > Hi

Re: [Mesa-dev] [PATCH 2/2] nir: Add a global dead write var removal pass

2018-07-27 Thread Caio Marcelo de Oliveira Filho
> --- > src/compiler/Makefile.sources | 1 + > src/compiler/nir/meson.build | 1 + > src/compiler/nir/nir.h | 2 + > src/compiler/nir/nir_opt_copy_prop_vars.c | 67 +--- > src/compiler/nir/nir_opt_dead_write_vars.c | 379 +

[Mesa-dev] [PATCH 2/2] nir: Add a global dead write var removal pass

2018-07-27 Thread Caio Marcelo de Oliveira Filho
Replaces the existing dead write var removal that is done as part of nir_opt_copy_prop_vars pass. The previous pass was per-block, so it would not remove the dead write in a program like int total = gl_VertexIndex * 10; float r = gl_VertexIndex; for (int i = 0; i < total; i++) {

[Mesa-dev] [PATCH 1/2] nir: Export deref comparison functions

2018-07-27 Thread Caio Marcelo de Oliveira Filho
--- src/compiler/nir/nir_deref.c | 111 + src/compiler/nir/nir_deref.h | 10 ++ src/compiler/nir/nir_opt_copy_prop_vars.c | 145 ++ 3 files changed, 134 insertions(+), 132 deletions(-) diff --git a/src/compiler/nir/nir_deref.c

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SandyBridge for odd dimensions

2018-07-27 Thread Matt Turner
On Thu, May 24, 2018 at 4:16 AM, vadym.shovkoplias wrote: > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104388 > Signed-off-by: Andriy Khulap > --- > src/mesa/drivers/dri/i965/genX_state_upload.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [Mesa-dev] [PATCH 2/2] gallium/u_vbuf: handle indirect multidraws correctly and efficiently (v2)

2018-07-27 Thread Marek Olšák
On Fri, Jul 27, 2018 at 5:08 PM, Eric Anholt wrote: > Marek Olšák writes: > >> From: Marek Olšák >> >> v2: need to do MAX{start+count} instead of MAX{count} >> added piglit tests >> --- >> src/gallium/auxiliary/util/u_vbuf.c | 199 >> 1 file changed, 175

[Mesa-dev] [PATCH] xlib: fix build break from _swrast_map_soft_renderbuffer() call

2018-07-27 Thread Brian Paul
We need to pass the new flip_y argument. --- src/mesa/drivers/x11/xm_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 97c7814..9c5383b 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++

Re: [Mesa-dev] [PATCH] gallium/auxiliary: Extern "c" fixes.

2018-07-27 Thread Brian Paul
Reviewed-by: Brian Paul On 07/27/2018 02:20 PM, Alexander von Gluck IV wrote: Used by C++ code such as Haiku's renderer. --- src/gallium/auxiliary/driver_ddebug/dd_public.h | 8 src/gallium/auxiliary/driver_noop/noop_public.h | 8

Re: [Mesa-dev] [PATCH 2/2] gallium/u_vbuf: handle indirect multidraws correctly and efficiently (v2)

2018-07-27 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > v2: need to do MAX{start+count} instead of MAX{count} > added piglit tests > --- > src/gallium/auxiliary/util/u_vbuf.c | 199 > 1 file changed, 175 insertions(+), 24 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH 1/2] gallium/u_vbuf: split u_vbuf_get_minmax_index function (v2)

2018-07-27 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > This will be used by indirect multidraws. > > v2: clean up the function further, change return types to unsigned Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ mesa-dev mailing

Re: [Mesa-dev] [PATCH 1/3] ac/surface: fix MSAA corruption on Vega due to FMASK tile swizzle

2018-07-27 Thread Marek Olšák
On Fri, Jul 27, 2018 at 5:16 AM, Bas Nieuwenhuizen wrote: > Reviewed-by: Bas Nieuwenhuizen > > Does it occur often that they are different? It depends on the size. FMASK has lower bpp and always 1 sample, so the tiling is more likely to use 4K than 64K macrotiles. Marek > > On Fri, Jul 27,

Re: [Mesa-dev] [PATCH 2/2] swrast: fix crash in AA line code when there's no texture

2018-07-27 Thread Neha Bhende
Looks good. For series, Reviewed-by: Neha Bhende Regards, Neha From: Brian Paul Sent: Friday, July 27, 2018 12:07:50 PM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee; Neha Bhende Subject: [PATCH 2/2] swrast: fix crash in AA line code when there's no

[Mesa-dev] [PATCH] gallium/auxiliary: Extern "c" fixes.

2018-07-27 Thread Alexander von Gluck IV
Used by C++ code such as Haiku's renderer. --- src/gallium/auxiliary/driver_ddebug/dd_public.h | 8 src/gallium/auxiliary/driver_noop/noop_public.h | 8 .../auxiliary/target-helpers/inline_debug_helper.h | 9 - 3 files changed, 24 insertions(+), 1

Re: [Mesa-dev] [PATCH] gallium/swr: Enable support bptc format.

2018-07-27 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Jul 27, 2018, at 1:45 PM, Denis Pauk wrote: > > Reuse Code from: > f69bc797e1 gallium/auxiliary: Add helper support for bptc format > compress/decompress > > Signed-off-by: Denis Pauk > CC: Marek Olšák > CC: Bruce Cherniak > CC: Tim Rowley > --- >

Re: [Mesa-dev] [PATCH 2/2] i965: implement MESA_framebuffer_flip_y [v3]

2018-07-27 Thread Chad Versace
On Mon 23 Jul 2018, Fritz Koenig wrote: > Instead of using _mesa_is_winsys_fbo or > _mesa_is_user_fbo to infer if an fbo is > flipped use the InvertedY flag. > > v2: > * additional window-system framebuffer checks [for jason] > v3: > * s/inverted_y/flip_y/g [for chadv] > * s/InvertedY/FlipY/g

[Mesa-dev] [PATCH 1/2] mesa: add switch case for GL 2.1 in _mesa_compute_version()

2018-07-27 Thread Brian Paul
The xlib/swrast driver only supports GL 2.1. This patch fixes a crash if the app calls glGetString(GL_SHADING_LANGUAGE_VERSION). --- src/mesa/main/version.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 58e68b4..2c5bd77 100644 ---

[Mesa-dev] [PATCH 2/2] swrast: fix crash in AA line code when there's no texture

2018-07-27 Thread Brian Paul
Fixes a crash running the Piglit polygon-mode-facing test (and probably others). --- src/mesa/swrast/s_aalinetemp.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h index bebb131..64767a3 100644 ---

[Mesa-dev] [PATCH] gallium/swr: Enable support bptc format.

2018-07-27 Thread Denis Pauk
Reuse Code from: f69bc797e1 gallium/auxiliary: Add helper support for bptc format compress/decompress Signed-off-by: Denis Pauk CC: Marek Olšák CC: Bruce Cherniak CC: Tim Rowley --- src/gallium/drivers/swr/swr_screen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH v3 3/3] glsl: propagate full variables eagerly

2018-07-27 Thread Caio Marcelo de Oliveira Filho
Hi Thomas, On Thu, Jul 26, 2018 at 09:59:44PM +0200, Thomas Helland wrote: > Since we're always going top-down through the > program there should be no need to "walk backwards", > so this approach should be enough to get the whole chain > of assignments in one pass. Neat. The patch that

Re: [Mesa-dev] [PATCH v3 0/3] GLSL Copy Propagation

2018-07-27 Thread Caio Marcelo de Oliveira Filho
> Caio Marcelo de Oliveira Filho (3): > glsl: teach copy_propagation_elements to deal with whole variables > glsl: use only copy_propagation_elements > glsl: propagate full variables eagerly Landed patches 1 and 2. Turned out patch 3 was not needed. By Eric suggestion, I'll take a look at

[Mesa-dev] [PATCH 1/2] intel/fs: New method for register_byte_use_pattern for fs_inst

2018-07-27 Thread Chema Casanova
El 27/07/18 a las 02:44, Francisco Jerez escribió: > Chema Casanova writes: > >> El 26/07/18 a las 20:02, Francisco Jerez escribió: >>> Chema Casanova writes: >>> El 20/07/18 a las 22:10, Francisco Jerez escribió: > Chema Casanova writes: > >> El 20/07/18 a las 00:34,

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

2018-07-27 Thread Jose Maria Casanova Crespo
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 and a relative offset inside the register. The

Re: [Mesa-dev] [PATCH 2/2] mesa: move var decls in texstore_rgba()

2018-07-27 Thread Charmaine Lee
For the series, Reviewed-by: Charmaine Lee From: Brian Paul Sent: Friday, July 27, 2018 7:21:53 AM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee; Neha Bhende Subject: [PATCH 2/2] mesa: move var decls in texstore_rgba() Move them closer to where

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized when compiling with -fstack-protector

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 --- Comment #12 from Gian-Carlo Pascutto --- So the bugs are: 1) Debian adding flags even if they don't make sense (i.e. stack protection on GPU code). Should be filed in Debian against libclc. 2) LLVM respecting that flag even if it

Re: [Mesa-dev] [PATCH] anv: Disable dual source blending when shader doesn't support it on gen8+

2018-07-27 Thread Danylo Piliaiev
bump. I can add test to Crucible if it will help. On 20.07.18 12:54, Danylo Piliaiev wrote: Dual source blending behaviour is undefined when shader doesn't have second color output. "If SRC1 is included in a src/dst blend factor and a DualSource RT Write message is not used, results

Re: [Mesa-dev] [PATCH v3] intel/ppgtt: memory address alignment

2018-07-27 Thread Lionel Landwerlin
Hey Sergii, Sorry for the late answer. For the sake of clarity, I would split the changes (4096->PAGE_SIZE) and the actual bug fix into 2 different patches. I don't have see a problem with the PAGE_SIZE change. Thanks a lot, - Lionel On 25/07/18 14:24, Sergii Romantsov wrote: Sorry, do we

Re: [Mesa-dev] [PATCH] radv/gfx9: implement coherent shaders for VK_ACCESS_SHADER_READ_BIT

2018-07-27 Thread Samuel Pitoiset
On 07/27/2018 04:39 PM, Bas Nieuwenhuizen wrote: Did this pass CTS? If so, woot! It did. Reviewed-by: Bas Nieuwenhuizen btw we can avoid some more, I think literally everything on Vega uses L2 so the VERTEX_ATTRIBUTE_READ, TRANSFER_READ (this one could use CP DMA, but not for images,

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized when compiling with -fstack-protector

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 --- Comment #11 from Jan Vesely --- GPUs don't really have a stack (not for data anyway) and AMDGCN backend currently inlines all function calls anyway. I'm not sure what kind of checks the flag adds. If anyone can upload the different libclc

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SandyBridge for odd dimensions

2018-07-27 Thread Vadim Shovkoplias
Hi Rafael, Thanks a lot for reviewing the patch! Hopefully no one will have any objections to push this. Thanks, Vadym 2018-07-26 18:11 GMT+03:00 Rafael Antognolli : > Hi Vadym, > > Ken and Ian explained a bit the situation on this one to me, and it > looks like neither of them are really

Re: [Mesa-dev] [PATCH] radv/gfx9: implement coherent shaders for VK_ACCESS_SHADER_READ_BIT

2018-07-27 Thread Bas Nieuwenhuizen
Did this pass CTS? If so, woot! Reviewed-by: Bas Nieuwenhuizen btw we can avoid some more, I think literally everything on Vega uses L2 so the VERTEX_ATTRIBUTE_READ, TRANSFER_READ (this one could use CP DMA, but not for images, and CP DMA can be configured to go through L2) and

[Mesa-dev] [PATCH 1/2] mesa: remove unneeded free() call in texstore_rgba()

2018-07-27 Thread Brian Paul
The pointer will always be NULL since that's what we just tested for. --- src/mesa/main/texstore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 31163f6..c7a459e 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@

[Mesa-dev] [PATCH 2/2] mesa: move var decls in texstore_rgba()

2018-07-27 Thread Brian Paul
Move them closer to where they're first used. --- src/mesa/main/texstore.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index c7a459e..55f66c5 100644 --- a/src/mesa/main/texstore.c +++

Re: [Mesa-dev] [PATCH v3] dri3: For 1.2, use root window instead of pixmap drawable

2018-07-27 Thread Olivier Fourdan
Hi, On Thu, 26 Jul 2018 at 19:53, Eric Anholt wrote: > > Olivier Fourdan writes: > > > get_supported_modifiers() and pixmap_from_buffers() requests both > > expect a window as drawable, passing a pixmap will fail as the Xserver > > will fail to match the given drawable to a window. > > > > That

[Mesa-dev] [PATCH] radv/gfx9: implement coherent shaders for VK_ACCESS_SHADER_READ_BIT

2018-07-27 Thread Samuel Pitoiset
Single-sample color and single-sample depth (not stencil) are coherent with shaders. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c

[Mesa-dev] [ANNOUNCE] mesa 18.1.5

2018-07-27 Thread Dylan Baker
Hi everyone, I present to you the mesa 18.1.5 release, available now. The 18.1.5 cycle has been rather busy, in fact, it's the busiest cycle since 18.1.2! Radv has gotten the most work this cycle, with intel, nir, and the android build system coming up behind it. Also getting various fixes this

Re: [Mesa-dev] [PATCH v2 2/2] egl/surfaceless: Allow DRMless fallback.

2018-07-27 Thread Emil Velikov
On 27 July 2018 at 00:18, David Riley wrote: > I understand and agree with your comments about kms_swrast requiring KMS and > not wanting to change those semantics. > > I'm not quite sure I follow all the rest of your suggestions (new to this > entire code base). You're suggesting that

Re: [Mesa-dev] [RFC][PATCH 4/5] Android.mk: Add option to use vendor version of mesa

2018-07-27 Thread Emil Velikov
On 26 July 2018 at 18:38, John Stultz wrote: > On Thu, Jul 26, 2018 at 6:46 AM, Emil Velikov > wrote: >> On 25 July 2018 at 20:52, John Stultz wrote: >>> On Wed, Jul 25, 2018 at 5:42 AM, Emil Velikov >>> wrote: On 25 July 2018 at 00:21, John Stultz wrote: > From: Yong Yao >

Re: [Mesa-dev] [PATCH] intel/compiler: fix lower conversions to account for predication

2018-07-27 Thread Iago Toral
On Thu, 2018-07-26 at 11:30 +0200, Chema Casanova wrote: > Please include: > > Fixes: 5a12bdac09496e00 "i965/compiler: handle conversion to smaller > type in the lowering pass for that" This is not specifically fixing that commit, the problem has been there before that

[Mesa-dev] [PATCH 2/2] intel/compiler: implement 8-bit constant load

2018-07-27 Thread Jose Maria Casanova Crespo
From: Iago Toral Quiroga --- src/intel/compiler/brw_fs_nir.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 2c8595b9730..6e9a5829d3b 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++

[Mesa-dev] [PATCH 0/2] intel/compiler: Enable 8-bit constants

2018-07-27 Thread Jose Maria Casanova Crespo
New VK-GL-CTS tests that use VK_KHR_8bit_storage extension use 32-bit constants that are converted to 8-bit and there are stored in a storage buffer. Although 8-bit constants are not enabled by VK_KHR_8bit_storage nir_opt_constant_folding already optimizes the 32 -> 8 integer conversion to a

[Mesa-dev] [PATCH 1/2] intel/compiler: add setup_imm_(u)b helpers

2018-07-27 Thread Jose Maria Casanova Crespo
From: Iago Toral Quiroga The hardware doesn't support byte immediates, so similar to setup_imm_df() for doubles, these helpers work by loading the constant value into a VGRF. --- src/intel/compiler/brw_fs.h | 6 ++ src/intel/compiler/brw_fs_nir.cpp | 16 2 files

Re: [Mesa-dev] [PATCH 1/2] radv: check CS space in radv_emit_write_data_packet()

2018-07-27 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen for the series On Fri, Jul 27, 2018 at 11:28 AM, Samuel Pitoiset wrote: > This wasn't wrong but it looks better to me like this. It's > only used for debugging purposes (ie. RADV_TRACE_FILE). > > Signed-off-by: Samuel Pitoiset > --- >

[Mesa-dev] [Bug 107351] Android 8.1: radv segfault with 3Dmark vulkan benchmarks

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107351 --- Comment #13 from Mauro Rossi --- Hi, but the sequence of ALOGD customized LOG_TAG RADV log does tell that the line invoking pAllocator argument was the first not being executed, and thus is involved in the segfault, could you please give

Re: [Mesa-dev] [PATCH 1/2] radv: reduce CB/DB meta flushes in radv_dst_access_flush()

2018-07-27 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizeh for the series. On Fri, Jul 27, 2018 at 11:55 AM, Samuel Pitoiset wrote: > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_cmd_buffer.c | 31 +++ > 1 file changed, 23 insertions(+), 8 deletions(-) > > diff --git

[Mesa-dev] [PATCH 1/2] radv: reduce CB/DB meta flushes in radv_dst_access_flush()

2018-07-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index f9f57a1065..2e65be4f30 100644 ---

[Mesa-dev] [PATCH 2/2] radv: do not emit pipeline stats flushes on compute queue

2018-07-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/si_cmd_buffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c index e2bdbe889a..2337036c67 100644 --- a/src/amd/vulkan/si_cmd_buffer.c +++

Re: [Mesa-dev] [PATCH] ac: fix get_image_coords() for radeonsi

2018-07-27 Thread Timothy Arceri
On 27/07/18 19:10, Bas Nieuwenhuizen wrote: On Fri, Jul 27, 2018 at 7:32 AM, Timothy Arceri wrote: Because this was setting image to true we would end up calling si_load_image_desc() when we sould be calling si_load_sampler_desc(). Since the descriptor is part of an image, not a sampler,

[Mesa-dev] [Bug 107385] full Screen Corruption when a program is fullscreen

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107385 Michel Dänzer changed: What|Removed |Added Version|unspecified |git

[Mesa-dev] [PATCH 1/2] radv: check CS space in radv_emit_write_data_packet()

2018-07-27 Thread Samuel Pitoiset
This wasn't wrong but it looks better to me like this. It's only used for debugging purposes (ie. RADV_TRACE_FILE). Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git

[Mesa-dev] [PATCH 2/2] radv: allocate enough space in radv_cmd_buffer_after_draw()

2018-07-27 Thread Samuel Pitoiset
The driver might emit up to 4 dwords when RADV_TRACE_FILE is used. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 131ea18b15..064eeb1c03 100644

[Mesa-dev] [Bug 102315] GPU Hang when replaying API trace of lightsmark

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102315 Denis changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Denis --- Hi

Re: [Mesa-dev] [PATCH 1/3] ac/surface: fix MSAA corruption on Vega due to FMASK tile swizzle

2018-07-27 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen Does it occur often that they are different? On Fri, Jul 27, 2018 at 5:36 AM, Marek Olšák wrote: > From: Marek Olšák > > a needle in the haystack? > > Cc: 18.1 > --- > src/amd/common/ac_surface.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [Mesa-dev] [PATCH] ac: fix get_image_coords() for radeonsi

2018-07-27 Thread Bas Nieuwenhuizen
On Fri, Jul 27, 2018 at 7:32 AM, Timothy Arceri wrote: > Because this was setting image to true we would end up calling > si_load_image_desc() when we sould be calling > si_load_sampler_desc(). Since the descriptor is part of an image, not a sampler, get_image_descriptor looks like the right

Re: [Mesa-dev] [PATCH] ac: pass write param to get_sampler_desc() from get_image_descriptor()

2018-07-27 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen Fixes: 506a07e4e3a "ac/nir: Add deref support to image intrinsics." On Fri, Jul 27, 2018 at 7:08 AM, Timothy Arceri wrote: > Looks like a mistake from when the deref stuff landed. > > Fixes: 506a07e4e3a4 ("ac/nir: Add deref support to image intrinsics.") > > Cc:

Re: [Mesa-dev] [PATCH v3] intel/ppgtt: memory address alignment

2018-07-27 Thread Sergii Romantsov
Hello, Kenneth and Lionel. Maybe, could we make a final review? On Wed, Jul 25, 2018 at 4:24 PM, Sergii Romantsov < sergii.romant...@globallogic.com> wrote: > Sorry, > do we have any objections about PAGE_SIZE usage instead of 4096? > > And what do you think if, maybe, some auto Intel-internal

[Mesa-dev] [Bug 107224] Incorrect Rendering in Deus Ex: Mankind Divided in-game menu

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107224 --- Comment #7 from Alex Smith --- Thanks for confirming. It looks like we have a bug where we fail to identify Mesa properly as a result of compatibility profile support being added, which causes us to go down a path for a different driver

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized when compiling with -fstack-protector

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 Gian-Carlo Pascutto changed: What|Removed |Added Summary|"volatile" in OpenCL code |"volatile" in OpenCL code

Re: [Mesa-dev] [PATCH 2/2] radv: fix cdw check vs tracing emit

2018-07-27 Thread Samuel Pitoiset
Series is: Reviewed-by: Samuel Pitoiset On 07/27/2018 06:22 AM, Dave Airlie wrote: From: Dave Airlie If we have tracing enabled we could do all the tracing emits and overflow the precalculated cdw_max. --- src/amd/vulkan/radv_cmd_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[Mesa-dev] [PATCH v2 2/2] virgl: update virgl_hw.h from virglrenderer

2018-07-27 Thread Erik Faye-Lund
This just makes sure we're currently up-to-date with what virglrenderer has. --- src/gallium/drivers/virgl/virgl_hw.h | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/virgl/virgl_hw.h b/src/gallium/drivers/virgl/virgl_hw.h index

[Mesa-dev] [PATCH v2 1/2] virgl: rename msaa_sample_positions -> sample_locations

2018-07-27 Thread Erik Faye-Lund
This matches what this field is called in virglrenderer's copy of this. While we're at it, fixup the indentation. This reduces the diff between the two different versions of virgl_hw.h, and should make it easier to upgrade the file in the future. --- src/gallium/drivers/virgl/virgl_context.c |

[Mesa-dev] [PATCH v2 0/2] virgl: synchronize virgl_hw.h with virglrenderer

2018-07-27 Thread Erik Faye-Lund
Here's a few patches to get the delta between our copy of virgl_hw.h and the copy in the virglrenderer repository as small as possible. The goal is to make it easier to track this file in the future by simply copying the new version of the file on top of the old. Changes since v2: - Rebased on

Re: [Mesa-dev] [PATCH 2/3 v2] Android.common.mk: define HAVE_TIMESPEC_GET

2018-07-27 Thread Rob Herring
On Thu, Jul 26, 2018 at 12:28 PM John Stultz wrote: > > From: Sumit Semwal > > This is a forward port of a patch from the AOSP/master tree: > https://android.googlesource.com/platform/external/mesa3d/+/bd30b663f55f8af73a0be4446349c5a2d4c641b0%5E%21/ > > Since

[Mesa-dev] [Bug 107385] full Screen Corruption when a program is fullscreen

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107385 Michel Dänzer changed: What|Removed |Added Attachment #140844|text/x-log |text/plain mime type|

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized by POLARIS10 and KABINI

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 --- Comment #9 from infini...@pwned.gg --- I guess a third possibility is that stack protectors are actually relevant for GPUs but Clang/LLVM is not generating correct code for those in this case. -- You are receiving this mail because: You

[Mesa-dev] [Bug 107369] "volatile" in OpenCL code not recognized by POLARIS10 and KABINI

2018-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107369 --- Comment #8 from infini...@pwned.gg --- For background, this is the CFLAGS that Debian passes when compiling all C programs. From the GCC man page: -fstack-protector Emit extra code to check for buffer overflows, such as stack smashing