Re: [Mesa-dev] [PATCH 0/7] GLSL: Lowering small conditional branches

2016-11-15 Thread Nicolai Hähnle
On 12.11.2016 20:34, Marek Olšák wrote: On Wed, Nov 2, 2016 at 10:33 PM, Marek Olšák wrote: On Wed, Nov 2, 2016 at 3:02 PM, Nicolai Hähnle wrote: Patches 1, 2, 4 - 6: Reviewed-by: Nicolai Hähnle Thanks. I have one pending

Re: [Mesa-dev] [PATCH v3] meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures

2016-11-15 Thread Kenneth Graunke
On Tuesday, November 15, 2016 9:27:00 AM PST Eduardo Lima Mitev wrote: > On 11/15/2016 12:25 AM, Kenneth Graunke wrote: > > From: Eduardo Lima Mitev > > > > This option was being ignored when packing compressed 3D and cube textures. > > > > Fixes CTS test (on gen8+): > > *

Re: [Mesa-dev] [PATCH v3] meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures

2016-11-15 Thread Nicolai Hähnle
On 15.11.2016 09:27, Eduardo Lima Mitev wrote: On 11/15/2016 12:25 AM, Kenneth Graunke wrote: From: Eduardo Lima Mitev This option was being ignored when packing compressed 3D and cube textures. Fixes CTS test (on gen8+): *

Re: [Mesa-dev] [PATCH v3] meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures

2016-11-15 Thread Eduardo Lima Mitev
On 11/15/2016 12:25 AM, Kenneth Graunke wrote: From: Eduardo Lima Mitev This option was being ignored when packing compressed 3D and cube textures. Fixes CTS test (on gen8+): * GL45-CTS.gtf32.GL3Tests.packed_pixels.packed_pixels_pixelstore v2: Drop API checks. v3 (Ken):

Re: [Mesa-dev] [PATCH 31/59] st/glsl_to_tgsi: add support for 64-bit integers. (v2)

2016-11-15 Thread Nicolai Hähnle
On 10.11.2016 23:59, Ian Romanick wrote: On 10/27/2016 06:32 AM, Nicolai Hähnle wrote: On 26.10.2016 02:59, Ian Romanick wrote: From: Dave Airlie v2: add conversion opcodes. v3 (idr): Rebase on replacemtn of TGSI_OPCODE_I2U64 with TGSI_OPCODE_I2I64. Signed-off-by: Dave

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Emil Velikov
Hi Matt, On 14 November 2016 at 22:31, Matt Turner wrote: > A long time ago, patch authors were tasked with cherry-picking their > patches to stable branches. Today we Cc > mesa-sta...@lists.freedesktop.org and Emil rebases those patches onto > stable. Cc'ing the list happens

Re: [Mesa-dev] [PATCH] intel: Set min_ds_entries on Broxton.

2016-11-15 Thread Ben Widawsky
On 16-11-15 03:08:22, Kenneth Graunke wrote: This was missing. Signed-off-by: Kenneth Graunke Cc: stable? Reviewed-by: Ben Widawsky Would you mind taking a quick look at the cleanup patch I have for defining GEN9 and GEN9_LP feature

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Marek Olšák
I think that if people add the Cc stable tag to patches that are going to land in master first, they shouldn't send it to the stable ML, because that is redundant. Yet, many people do that. I would go even further and say that any unreviewed patches shouldn't be sent to the stable ML. At least

Re: [Mesa-dev] [PATCH v2 1/3] loader: add loader_get_extensions_name(..) helper

2016-11-15 Thread Emil Velikov
On 12 November 2016 at 16:26, Christian Gmeiner wrote: > ../../include/GL/internal/dri_interface.h:512:5: error: unknown type > name 'GLboolean' > GLboolean front_buffer, > ^ > ../../include/GL/internal/dri_interface.h:514:1: warning: no semicolon >

Re: [Mesa-dev] [PATCH 12/14] swr: remove unnecessary -1 entries in format mapping table

2016-11-15 Thread Cherniak, Bruce
As per our IRC discussion… Reviewed-by: Bruce Cherniak > On Nov 14, 2016, at 7:46 PM, Cherniak, Bruce wrote: > > For book-keeping, to know which formats we have left to support/enable, we’d > like to leave the -1 entries. It’s a little

Re: [Mesa-dev] [PATCH 00/14] swr: resource-related (and misc) fixes

2016-11-15 Thread Cherniak, Bruce
CI results are complete. Go ahead and push those I marked reviewed (all but patches 6 & 11). On Nov 14, 2016, at 10:40 PM, Ilia Mirkin > wrote: Should I push the ones you mark as r-b or wait for a separate go-ahead based on CI results? On

Re: [Mesa-dev] [PATCH 02/14] swr: [rasterizer memory] round up when dividing by block sizes

2016-11-15 Thread Cherniak, Bruce
Sorry, yes, I was aware of the updated patch. What I meant (in not enough words apparently) is that a change like this could affect other users of the core and need to go through full CI. We’ve run CI on the updated patch and it passes. So, yes, please go ahead and send that one out.

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: > On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: >> On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: >>> >>> Hi, >>> >>> Is the modifier just a driver-specific description of the

Re: [Mesa-dev] [PATCH 07/13] egl_dri2: add support for using modifier attributes in eglCreateImageKHR

2016-11-15 Thread Eric Engestrom
On Tuesday, 2016-11-15 19:54:28 +0530, Varad Gautam wrote: > From: Pekka Paalanen > > allow creating EGLImages with dmabuf format modifiers when target is > EGL_LINUX_DMA_BUF_EXT for EGL_EXT_image_dma_buf_import_modifiers. > > Signed-off-by: Pekka Paalanen

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: > > Hi, > > Is the modifier just a driver-specific description of the tiling > layout and compression? > > What makes you think that 8 bytes is enough to describe that? What if > I need 9 bytes just to program the display

Re: [Mesa-dev] softpipe and PIPE_CAP_MIXED_COLORBUFFER_FORMATS?

2016-11-15 Thread Roland Scheidegger
Am 14.11.2016 um 20:15 schrieb A223 A223: > My application requires PIPE_CAP_MIXED_COLORBUFFER_FORMATS and I > noticed that it is not enabled for softpipe. I hardcoded it to be > turned on and did not notice any ill effects so far. > > Is it necessary that PIPE_CAP_MIXED_COLORBUFFER_FORMATS be

Re: [Mesa-dev] [PATCH 10/13] gallium: introduce format modifier querying

2016-11-15 Thread Roland Scheidegger
It looks like there aren't any possible modifier bits defined, so how is this supposed to work? Roland Am 15.11.2016 um 15:24 schrieb Varad Gautam: > From: Varad Gautam > > drivers should implement pipe_screen->get_modifiers_for_format and > advertise it with

Re: [Mesa-dev] [PATCH 10/13] gallium: introduce format modifier querying

2016-11-15 Thread Rob Clark
see drm_fourcc.h (if the extension txt didn't mention that, perhaps it should) BR, -R On Tue, Nov 15, 2016 at 12:23 PM, Roland Scheidegger wrote: > It looks like there aren't any possible modifier bits defined, so how is > this supposed to work? > > Roland > > Am 15.11.2016

Re: [Mesa-dev] [PATCH 13/14] swr: remove formats from mapping table that don't have StoreTile impls

2016-11-15 Thread Cherniak, Bruce
You’re absolutely correct, the gallivm sampler supports all formats regardless of our table. I stand corrected. Reviewed-by: Bruce Cherniak > On Nov 14, 2016, at 10:38 PM, Ilia Mirkin

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
Hi, Is the modifier just a driver-specific description of the tiling layout and compression? What makes you think that 8 bytes is enough to describe that? What if I need 9 bytes just to program the display hardware? Drivers importing DMABUFs still have to invoke the texture tiling calculator to

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Marek Olšák
On Tue, Nov 15, 2016 at 5:30 PM, Emil Velikov wrote: > On 15 November 2016 at 16:13, Marek Olšák wrote: >> I think that if people add the Cc stable tag to patches that are going >> to land in master first, they shouldn't send it to the stable ML, >>

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: > On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: >> >> Hi, >> >> Is the modifier just a driver-specific description of the tiling >> layout and compression? >> >> What makes you think that 8 bytes is

Re: [Mesa-dev] [PATCH 02/14] swr: [rasterizer memory] round up when dividing by block sizes

2016-11-15 Thread Ilia Mirkin
Ah OK. Yeah - I fully expect you to be running all these changes through some qualification process. You have other users, and other hardware. My hope is that you're running this through your target applications and making sure they don't regress. I'm mostly just worried about correctness for now.

[Mesa-dev] [AppVeyor] mesa master #2692 failed

2016-11-15 Thread AppVeyor
Build mesa 2692 failed Commit 358079da2d by Marek Olšák on 11/12/2016 10:10 PM: radeonsi: set unsafe fpmath on FP instructions when allowed by R600_DEBUG\n\nReviewed-by: Nicolai Hähnle Configure your notification preferences

Re: [Mesa-dev] [PATCH 1/3] swr: add support for upper-left fragcoord position

2016-11-15 Thread Rowley, Timothy O
Reviewed-by: Tim Rowley > On Nov 14, 2016, at 7:03 PM, Ilia Mirkin > wrote: Fixes glsl-arb-fragment-coord-conventions. Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH 3/3] swr: mark color clamping as unsupported

2016-11-15 Thread Rowley, Timothy O
Reviewed-by: Tim Rowley > On Nov 14, 2016, at 7:03 PM, Ilia Mirkin > wrote: There is no functionality in swr to clamp either vertex or frag colors. This could be added in swr_shader,

Re: [Mesa-dev] [PATCH 2/3] swr: always enable adding start/base vertex to gl_VertexId

2016-11-15 Thread Rowley, Timothy O
Reviewed-by: Tim Rowley > On Nov 14, 2016, at 7:03 PM, Ilia Mirkin > wrote: Fixes gl-3.2-basevertex-vertexid Signed-off-by: Ilia Mirkin

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #45 from Gregor Münch --- No change with GIT of today. Slowdowns remain the same. -- You are receiving this mail because: You are the assignee for the bug.___

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
On Tue, Nov 15, 2016 at 6:26 PM, Rob Clark wrote: > On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: >> On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: >>> On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote:

Re: [Mesa-dev] [PATCH mesa] egl: fix function name in debug string

2016-11-15 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 11/16/2016 01:41 AM, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- src/egl/main/eglconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/main/eglconfig.c

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Emil Velikov
On 15 November 2016 at 16:13, Marek Olšák wrote: > I think that if people add the Cc stable tag to patches that are going > to land in master first, they shouldn't send it to the stable ML, > because that is redundant. Yet, many people do that. I would go even > further and say

Re: [Mesa-dev] [PATCH mesa] egl: fix helper function name

2016-11-15 Thread Matt Turner
On Tue, Nov 15, 2016 at 3:43 PM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > src/egl/main/eglapi.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c > index

[Mesa-dev] [PATCH] i965: Use 3DSTATE_CLIP's User Clip Distance Enable bitmask on Gen8+.

2016-11-15 Thread Kenneth Graunke
Gen6-7.5 specify the user clip distance enable bitmask in 3DSTATE_CLIP. Gen8+ normally uses the new internal signalling mechanism to select the one specified in the last enabled shader stage (3DSTATE_VS, DS, or GS). This is a pretty good fit for Vulkan, or even newer GL, where the bitmask comes

Re: [Mesa-dev] [PATCH mesa] egl: fix helper function name

2016-11-15 Thread Tapani Pälli
why not .. Reviewed-by: Tapani Pälli (note that there are other static functions that don't have '_' in them in this file, also there is _eglConvertIntsToAttribs which looks like it could be static (only one caller in same file) but it is not) On 11/16/2016 01:43

Re: [Mesa-dev] [PATCH mesa] egl/x11: misc style fixes

2016-11-15 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 11/16/2016 01:48 AM, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- src/egl/drivers/dri2/platform_x11.c | 2 +- src/egl/drivers/dri2/platform_x11_dri3.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [Mesa-dev] [PATCH mesa] egl/wayland: avoid double-return

2016-11-15 Thread Tapani Pälli
I think it's cleaner the way it is, this double return would never happen, it's just another implementation of the function. On 11/16/2016 01:46 AM, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- src/egl/drivers/dri2/platform_wayland.c | 4 +++- 1 file changed, 3

Re: [Mesa-dev] [PATCH 10/13] gallium: introduce format modifier querying

2016-11-15 Thread Michel Dänzer
On 15/11/16 11:24 PM, Varad Gautam wrote: > From: Varad Gautam > > drivers should implement pipe_screen->get_modifiers_for_format and > advertise it with PIPE_CAP_QUERY_DMABUF_MODIFIERS to support format > modifier queries. Is there any point in having the

[Mesa-dev] [Bug 98740] bitcode.cpp:102:8: error: ‘Error’ is not a member of ‘llvm’

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98740 Bug ID: 98740 Summary: bitcode.cpp:102:8: error: ‘Error’ is not a member of ‘llvm’ Product: Mesa Version: 13.0 Hardware: x86-64 (AMD64) OS: Linux (All)

[Mesa-dev] [Bug 98740] bitcode.cpp:102:8: error: ‘Error’ is not a member of ‘llvm’

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98740 Emil Velikov changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH 2/3] i965: Consolidate GEN9 LP definition

2016-11-15 Thread Kenneth Graunke
On Thursday, November 10, 2016 10:20:12 AM PST Ben Widawsky wrote: > From: Ben Widawsky > > Signed-off-by: Ben Widawsky > --- > src/intel/common/gen_device_info.c | 116 > + > 1 file changed, 40 insertions(+), 76

[Mesa-dev] [Bug 98699] "float[a+++4 ? 1:1] f; " crashes glsl_compiler

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98699 Ian Romanick changed: What|Removed |Added Status|NEW |ASSIGNED

Re: [Mesa-dev] [PATCH] isl: Fix height calculation in isl_msaa_interleaved_scale_px_to_sa

2016-11-15 Thread Jason Ekstrand
Oops... Please back-port. Rb On Nov 15, 2016 11:20 AM, "Jordan Justen" wrote: > No known fixed tests, but it looks like a typo from: > > commit 8ac99eabb6570f0f3c5f7d7da1332a99ce636362 > > intel/isl: Add a helper for getting the size of an interleaved pixel > >

[Mesa-dev] [PATCH v2 2/14] swr: [rasterizer memory] minify original sizes for block formats

2016-11-15 Thread Ilia Mirkin
There's no guarantee that mip width/height will be a multiple of the compressed block size. Doing a divide by the block size first yields different results than GL expects, so we do the divide at the end. Signed-off-by: Ilia Mirkin --- This replaces the previous patch,

[Mesa-dev] [Bug 98699] "float[a+++4 ? 1:1] f; " crashes glsl_compiler

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98699 --- Comment #5 from Ian Romanick --- (In reply to Kenneth Graunke from comment #4) > My patches for Karol's other crashes have landed, but I haven't looked at > this one. This may be fixed by the fix for bug #98694. The

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 1:04 PM, Marek Olšák wrote: > On Tue, Nov 15, 2016 at 6:26 PM, Rob Clark wrote: >> On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: >>> On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote:

Re: [Mesa-dev] [PATCH] gallivm: limit use of setFastMathFlags to LLVM 3.8 and later

2016-11-15 Thread Brian Paul
On 11/15/2016 11:56 AM, Marek Olšák wrote: From: Marek Olšák --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index

[Mesa-dev] [PATCH] blorp: Use designated initializers in surf_convert_to_single_slice

2016-11-15 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/intel/blorp/blorp_blit.c | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 1108335..c0b56c3 100644 ---

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

2016-11-15 Thread AppVeyor
Build mesa 2695 completed Commit a6ff2a3378 by Marek Olšák on 11/13/2016 3:54 PM: util/disk_cache: use unambiguous naming\n\nReviewed-by: Emil Velikov Configure your notification preferences

[Mesa-dev] [Bug 98699] "float[a+++4 ? 1:1] f; " crashes glsl_compiler

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98699 --- Comment #2 from Ian Romanick --- I don't even want to know how you came across that. :) Just looking at the backtrace, it seems the problem is the "a++" generates an assignment. The code that handles array sizes

[Mesa-dev] [PATCH] radv: don't crash on null swapchain destroy.

2016-11-15 Thread Dave Airlie
From: Dave Airlie Just return if the passed in swapchain is NULL. Fixes: dEQP-VK.wsi.xlib.swapchain.destroy.null_handle Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_wsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Jason Ekstrand
On Nov 15, 2016 11:07 AM, "Ian Romanick" wrote: > > On 11/14/2016 02:31 PM, Matt Turner wrote: > > A long time ago, patch authors were tasked with cherry-picking their > > patches to stable branches. Today we Cc > > mesa-sta...@lists.freedesktop.org and Emil rebases those

[Mesa-dev] [PATCH] isl: Fix height calculation in isl_msaa_interleaved_scale_px_to_sa

2016-11-15 Thread Jordan Justen
No known fixed tests, but it looks like a typo from: commit 8ac99eabb6570f0f3c5f7d7da1332a99ce636362 intel/isl: Add a helper for getting the size of an interleaved pixel Cc: Jason Ekstrand Signed-off-by: Jordan Justen ---

[Mesa-dev] [Bug 98740] bitcode.cpp:102:8: error: ‘Error’ is not a member of ‘llvm’

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98740 Vinson Lee changed: What|Removed |Added Keywords||bisected

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #46 from George Billios --- This is also valid for Trine 3. Big delay to start ~5mins setting MESA_SHADER_CAPTURE_PATH results in about 16k files!!! specs i7 860 Fury R9 4.7-staging kernel mesa-git Mesa

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 George Billios changed: What|Removed |Added CC||gbill...@gmail.com

[Mesa-dev] [Bug 98699] "float[a+++4 ? 1:1] f; " crashes glsl_compiler

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98699 --- Comment #6 from Karol Herbst --- no, it doesn't. Just tested on current master. -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev

Re: [Mesa-dev] [PATCH] mesa: Drop PATH_MAX usage.

2016-11-15 Thread Roland Mainz
On Tue, Nov 15, 2016 at 9:56 PM, Emil Velikov wrote: > On 15 November 2016 at 20:04, Kenneth Graunke wrote: >> GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary >> limitation, so this failed to compile. Apparently glibc does

Re: [Mesa-dev] [PATCH 1/2] compiler: include shader_enums.h in shader_info.h

2016-11-15 Thread Jason Ekstrand
Both are rb me On Nov 15, 2016 7:03 PM, "Timothy Arceri" wrote: > We make use of some enums here. > --- > src/compiler/shader_info.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h > index

Re: [Mesa-dev] [PATCH] blorp: Use designated initializers in surf_convert_to_single_slice

2016-11-15 Thread Jason Ekstrand
Of you want to make it simpler, we have a macro wrapper called isl_surf_init that will turn those fields into named parameters. Either way, thanks for fixing this up. Rb On Nov 15, 2016 11:23 AM, "Jordan Justen" wrote: Signed-off-by: Jordan Justen

Re: [Mesa-dev] [PATCH] android: amd/common: add support for libmesa_amd_common

2016-11-15 Thread Emil Velikov
On 15 November 2016 at 09:15, Nicolai Hähnle wrote: > On 12.11.2016 22:26, Mauro Rossi wrote: >>> >>> We'd really want to do: >>> >>> git rm src/amd/common/Makefile.sources >>> git mv src/amd/common/Makefile.am src/amd/Makefile.common.am >>> sed -i s|common/||g

Re: [Mesa-dev] Fwd: errors for mesa master Android build 554

2016-11-15 Thread Brian Paul
It also broke our in-house Jenkins build on Ubuntu. Though, it's building OK on my local system. Hmm. CC dri_common.lo ../../../src/glx/dri_common.c: In function ‘driGetDriverExtensions’: ../../../src/glx/dri_common.c:164:32: error: implicit declaration of function

Re: [Mesa-dev] Fwd: errors for mesa master Android build 554

2016-11-15 Thread Emil Velikov
On 15 November 2016 at 18:40, Brian Paul wrote: > It also broke our in-house Jenkins build on Ubuntu. Though, it's building > OK on my local system. Hmm. > > CC dri_common.lo > ../../../src/glx/dri_common.c: In function ‘driGetDriverExtensions’: >

Re: [Mesa-dev] [PATCH 31/59] st/glsl_to_tgsi: add support for 64-bit integers. (v2)

2016-11-15 Thread Ian Romanick
On 11/15/2016 01:40 AM, Nicolai Hähnle wrote: > On 10.11.2016 23:59, Ian Romanick wrote: >> On 10/27/2016 06:32 AM, Nicolai Hähnle wrote: >>> This part is suspicious. It looks like the top two vector elements are >>> written into a temporary register that isn't used anywhere. >> >> Uh... I have no

Re: [Mesa-dev] [PATCH] blorp: Use designated initializers in surf_convert_to_single_slice

2016-11-15 Thread Kenneth Graunke
On Tuesday, November 15, 2016 11:22:28 AM PST Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > src/intel/blorp/blorp_blit.c | 29 + > 1 file changed, 13 insertions(+), 16 deletions(-) > > diff --git a/src/intel/blorp/blorp_blit.c

[Mesa-dev] [PATCH] gallivm: limit use of setFastMathFlags to LLVM 3.8 and later

2016-11-15 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index da3cbdd..a68428d 100644 ---

[Mesa-dev] [PATCH 2/2] util/disk_cache: use unambiguous naming

2016-11-15 Thread Marek Olšák
From: Marek Olšák --- src/compiler/glsl/tests/cache_test.c | 140 +-- src/util/disk_cache.c| 30 src/util/disk_cache.h| 56 +++--- 3 files changed, 114 insertions(+), 112 deletions(-) diff

[Mesa-dev] [PATCH 1/2] util: import cache.c/h from glsl

2016-11-15 Thread Marek Olšák
From: Marek Olšák It's not dependent on GLSL and it can be useful for shader caches that don't deal with GLSL. v2: address review comments --- configure.ac | 4 src/compiler/Makefile.glsl.am| 4

Re: [Mesa-dev] [PATCH 1/2] util: import cache.c/h from glsl

2016-11-15 Thread Emil Velikov
On 15 November 2016 at 19:07, Marek Olšák wrote: > From: Marek Olšák > > It's not dependent on GLSL and it can be useful for shader caches that don't > deal with GLSL. > > v2: address review comments Thank you ! > --- > configure.ac

Re: [Mesa-dev] [PATCH] hurd: Fix build

2016-11-15 Thread Emil Velikov
On 13 November 2016 at 23:30, Samuel Thibault wrote: > GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary > limitation. This works around it in arbprogram.c and shaderapi.c by > defining PATH_MAX to an arbitrary value (4096, as on Linux). > >

[Mesa-dev] [Bug 98699] "float[a+++4 ? 1:1] f; " crashes glsl_compiler

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98699 Kenneth Graunke changed: What|Removed |Added Status|ASSIGNED|NEW

[Mesa-dev] Fwd: errors for mesa master Android build 554

2016-11-15 Thread Rob Herring
This commit breaks the build for Android. Looks like a prototype is missing and LLVM is stricter. Rob commit 1a21d21580965eff751414d140b3c1762eb3 Author: Christian Gmeiner Date: Thu Nov 3 15:25:21 2016 +0100 dri: make use of dri_get_extensions_name(..)

Re: [Mesa-dev] Stable release process

2016-11-15 Thread Ian Romanick
On 11/14/2016 02:31 PM, Matt Turner wrote: > A long time ago, patch authors were tasked with cherry-picking their > patches to stable branches. Today we Cc > mesa-sta...@lists.freedesktop.org and Emil rebases those patches onto > stable. Cc'ing the list happens even on patches sent for their first

Re: [Mesa-dev] [PATCH] ac/nir/llvm: fix channel in texture gather lowering code.

2016-11-15 Thread Dave Airlie
On 15 November 2016 at 17:33, Dave Airlie wrote: > From: Dave Airlie > > Just noticed this by inspection, while trying to locate other > CTS failures. Don't think it fixes anything, but it might be > needed once I find the proper fix. Just noticed it does

[Mesa-dev] [PATCH] mesa: Drop PATH_MAX usage.

2016-11-15 Thread Kenneth Graunke
GNU/Hurd does not define PATH_MAX since it doesn't have such arbitrary limitation, so this failed to compile. Apparently glibc does not enforce PATH_MAX restrictions anyway, so it's kind of a hoax: https://www.gnu.org/software/libc/manual/html_node/Limits-for-Files.html MSVC uses a different

Re: [Mesa-dev] Rework use of gl program structures

2016-11-15 Thread Timothy Arceri
Most of these patches are clean-ups on there own so I'd be grateful for even partial series reviews. Thanks, Tim On Fri, 2016-11-11 at 11:45 +1100, Timothy Arceri wrote: > I started out with a goal of freeing _LinkedShaders after linking as > this > would have allowed a bunch of code

Re: [Mesa-dev] [PATCH] blorp: Use designated initializers in surf_convert_to_single_slice

2016-11-15 Thread Jordan Justen
On 2016-11-15 11:36:33, Jason Ekstrand wrote: >Of you want to make it simpler, we have a macro wrapper called >isl_surf_init that will turn those fields into named parameters. Either >way, thanks for fixing this up. Rb > >On Nov 15, 2016 11:23 AM, "Jordan Justen"

[Mesa-dev] [PATCH] mesa: if MESA_DEBUG=context, create a debug context

2016-11-15 Thread Brian Paul
A number of drivers report useful debug/perf information accessible through GL_ARB_debug_output and with debug contexts (i.e. setting the GLX_CONTEXT_DEBUG_BIT_ARB flag). But few applications actually use the GL_ARB_debug_output extension. This change lets one set the MESA_DEBUG env var to

Re: [Mesa-dev] [PATCH] wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR

2016-11-15 Thread Jason Ekstrand
Rb. Please cc stable On Nov 15, 2016 1:20 PM, "Dave Airlie" wrote: > From: Dave Airlie > > This fixes the x11 and wayland backends to not assert: > dEQP-VK.wsi.xcb.swapchain.get_images.incomplete > > Signed-off-by: Dave Airlie > ---

Re: [Mesa-dev] [PATCH] mesa: Drop PATH_MAX usage.

2016-11-15 Thread Roland Mainz
On Tue, Nov 15, 2016 at 11:05 PM, Kenneth Graunke wrote: > On Tuesday, November 15, 2016 10:28:11 PM PST Roland Mainz wrote: >> On Tue, Nov 15, 2016 at 9:56 PM, Emil Velikov >> wrote: >> > On 15 November 2016 at 20:04, Kenneth Graunke

Re: [Mesa-dev] [PATCH] mesa: Drop PATH_MAX usage.

2016-11-15 Thread Kenneth Graunke
On Tuesday, November 15, 2016 10:28:11 PM PST Roland Mainz wrote: > On Tue, Nov 15, 2016 at 9:56 PM, Emil Velikov > wrote: > > On 15 November 2016 at 20:04, Kenneth Graunke wrote: > >> GNU/Hurd does not define PATH_MAX since it doesn't have such

[Mesa-dev] [PATCH] nir/spirv: implement ordered / unordered floating point comparisons properly

2016-11-15 Thread Iago Toral Quiroga
Besides the logical operation involved, these also require that we test if the operands are ordered / unordered. For ordered operations, both operands must be ordered (and they must pass the conditional test) while for unordered operations it is sufficient if only one of the operands is unordered

Re: [Mesa-dev] [PATCH] android: amd/common: add support for libmesa_amd_common

2016-11-15 Thread Nicolai Hähnle
On 12.11.2016 22:26, Mauro Rossi wrote: We'd really want to do: git rm src/amd/common/Makefile.sources git mv src/amd/common/Makefile.am src/amd/Makefile.common.am sed -i s|common/||g src/amd/Makefile.common.am + fix the odd piece throughout. As-is we have the sources lists duplicated and

Re: [Mesa-dev] [PATCH 13/59] glsl/ast/ir: Add 64-bit integer constant support

2016-11-15 Thread Nicolai Hähnle
On 10.11.2016 23:42, Ian Romanick wrote: On 10/27/2016 06:09 AM, Nicolai Hähnle wrote: On 26.10.2016 02:59, Ian Romanick wrote: From: Dave Airlie This adds support for 64-bit integer constants to the parser, ast and ir. v2: fix a few issues found in testing. v3: Add

Re: [Mesa-dev] [PATCH 3/3] radeonsi: set unsafe fpmath on FP instructions when allowed by R600_DEBUG

2016-11-15 Thread Nicolai Hähnle
For the series: Reviewed-by: Nicolai Hähnle On 13.11.2016 17:13, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH mesa] egl: fix function name in debug string

2016-11-15 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/main/eglconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c index 6161d26..876c8f0 100644 --- a/src/egl/main/eglconfig.c +++ b/src/egl/main/eglconfig.c @@

[Mesa-dev] [PATCH mesa] egl: fix helper function name

2016-11-15 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/main/eglapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 53340bf..934d585 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -1195,7

[Mesa-dev] [Bug 77662] Fail to render to different faces of depth-stencil cube map

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77662 Nanley Chery changed: What|Removed |Added Status|NEW |ASSIGNED

Re: [Mesa-dev] [PATCH] radv: don't crash on null swapchain destroy.

2016-11-15 Thread Bas Nieuwenhuizen
r-b On 15 Nov 2016 9:12 PM, "Dave Airlie" wrote: > From: Dave Airlie > > Just return if the passed in swapchain is NULL. > > Fixes: dEQP-VK.wsi.xlib.swapchain.destroy.null_handle > > Signed-off-by: Dave Airlie > --- >

Re: [Mesa-dev] [PATCH] blorp: Use designated initializers in surf_convert_to_single_slice

2016-11-15 Thread Jason Ekstrand
On Tue, Nov 15, 2016 at 2:38 PM, Jordan Justen wrote: > On 2016-11-15 11:36:33, Jason Ekstrand wrote: > >Of you want to make it simpler, we have a macro wrapper called > >isl_surf_init that will turn those fields into named parameters. > Either > >way,

Re: [Mesa-dev] Fwd: New Defects reported by Coverity Scan for Mesa

2016-11-15 Thread Jordan Justen
On 2016-11-15 16:21:27, Matt Turner wrote: > Jordan, > > In > > commit 0041169cacb300a882b4dc38cd341f98bf2a7c38 > Author: Jordan Justen > Date: Fri Oct 21 12:56:49 2016 +0100 > This date is not correct. In my branch it was: Date: Mon Jun 30 00:50:56 2014 + I

[Mesa-dev] [PATCH] i965: "Fix" aux offsets

2016-11-15 Thread Ben Widawsky
From: Ben Widawsky When 1 BO is used for aux data, it needs to point to the correct offset, which will not be the BOs offset but instead an offset from the BOs offset. Since today there are always multiple BOs for aux, this doesn't actually change anything. Cc: Jason Ekstrand

[Mesa-dev] [PATCH] radv: fix image view creation for depth and stencil only

2016-11-15 Thread Dave Airlie
From: Dave Airlie This fixes the image view for sampling just the depth. It removes some pointless swizzle code, and adds a missing case for the x8_d24 format. Fixes: dEQP-VK.renderpass.formats.d32_sfloat_s8_uint.input.* dEQP-VK.renderpass.formats.d24_unorm_s8_uint.input.*

[Mesa-dev] [PATCH mesa] egl/wayland: avoid double-return

2016-11-15 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/drivers/dri2/platform_wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 4fd4289..64eb4ef 100644 ---

[Mesa-dev] [PATCH mesa] egl/x11: misc style fixes

2016-11-15 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/drivers/dri2/platform_x11.c | 2 +- src/egl/drivers/dri2/platform_x11_dri3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index

[Mesa-dev] Fwd: New Defects reported by Coverity Scan for Mesa

2016-11-15 Thread Matt Turner
Jordan, In commit 0041169cacb300a882b4dc38cd341f98bf2a7c38 Author: Jordan Justen Date: Fri Oct 21 12:56:49 2016 +0100 i965: Wrap MCS miptree in intel_miptree_aux_buffer you changed intel_miptree_alloc_mcs() to return mt->mcs_buf != NULL. mt->mcs_buf is

[Mesa-dev] [Bug 98629] OpenGL applications warns "MESA-LOADER: failed to retrieve device information"

2016-11-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98629 Emil Velikov changed: What|Removed |Added Product|Mesa|DRI

[Mesa-dev] [PATCH] intel: Set min_ds_entries on Broxton.

2016-11-15 Thread Kenneth Graunke
This was missing. Signed-off-by: Kenneth Graunke --- src/intel/common/gen_device_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/common/gen_device_info.c b/src/intel/common/gen_device_info.c index 1dc1769..c7b8e56 100644 ---

[Mesa-dev] [PATCH v2] mesa: add NV_image_formats extension support

2016-11-15 Thread Lionel Landwerlin
v2: Replace helper function by qualifier struct field (Ilia) Enable NV_image_formats using ARB_shader_image_load_store (Ilia) Signed-off-by: Lionel Landwerlin Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98480 Cc: Ilia Mirkin

Re: [Mesa-dev] [PATCH v3] meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures

2016-11-15 Thread Eduardo Lima Mitev
On 11/15/2016 11:03 AM, Nicolai Hähnle wrote: > On 15.11.2016 09:27, Eduardo Lima Mitev wrote: >> On 11/15/2016 12:25 AM, Kenneth Graunke wrote: >>> From: Eduardo Lima Mitev >>> >>> This option was being ignored when packing compressed 3D and cube >>> textures. >>> >>> Fixes CTS

Re: [Mesa-dev] [PATCH v3] meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures

2016-11-15 Thread Eduardo Lima Mitev
On 11/15/2016 10:58 AM, Kenneth Graunke wrote: > On Tuesday, November 15, 2016 9:27:00 AM PST Eduardo Lima Mitev wrote: >> On 11/15/2016 12:25 AM, Kenneth Graunke wrote: >>> From: Eduardo Lima Mitev >>> >>> This option was being ignored when packing compressed 3D and cube

  1   2   >