Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Rafael Avila de Espindola
Emil Velikov writes: > On 4 July 2017 at 16:04, Rafael Avila de Espindola > wrote: >> Emil Velikov writes: >> >>> So the version is FOOgit-$SHA while the DSO uses, FOOsvn. At the same >>> time at least 3.9.0/3.9.1

Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Rafael Avila de Espindola
Emil Velikov writes: > So the version is FOOgit-$SHA while the DSO uses, FOOsvn. At the same > time at least 3.9.0/3.9.1 has broken llvm-config --libnames/libfiles, > so we cannot rely on that. > Doesn't seem like LLVM is giving us something robust to work with here. >

Re: [Mesa-dev] [PATCH v2 1/4] glsl: look for multiple variables simultaneously with find_assignment_visitor

2017-07-04 Thread Timothy Arceri
On 04/07/17 19:37, Nicolai Hähnle wrote: On 03.07.2017 14:34, Nicolai Hähnle wrote: From: Nicolai Hähnle Save some passes over the IR. v2: redesign to make the users of find_assignments more readable Reviewed-by: Ian Romanick (v1) ---

[Mesa-dev] [PATCH] ac/nir: Move VS position exports before param exports.

2017-07-04 Thread Bas Nieuwenhuizen
According to Nicolai the SX can already start work when all the position exports are done, so do those first. Signed-off-by: Bas Nieuwenhuizen --- src/amd/common/ac_nir_to_llvm.c | 109 1 file changed, 54 insertions(+), 55 deletions(-)

Re: [Mesa-dev] [PATCH 1/1] radeonsi: Use libdrm to get chipset name for radeon

2017-07-04 Thread Samuel Li
Note, this change depends on a libdrm change, which is also under review. Sam On 2017-07-04 05:35 PM, Samuel Li wrote: > Change-Id: I98d17f4af07c30f1739b43db1a6e1616a58332ef > Signed-off-by: Samuel Li > --- > src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 17

Re: [Mesa-dev] [PATCH v2 3/4] glsl: explicitly zero out padding to gl_shader_variable bitfield

2017-07-04 Thread Timothy Arceri
Reviewed-by: Timothy Arceri On 03/07/17 22:34, Nicolai Hähnle wrote: From: Nicolai Hähnle Otherwise, the padding bits remain undefined, which leads to valgrind errors when storing the gl_shader_variable in the disk cache. v2: use rzalloc

[Mesa-dev] [PATCH 1/1] radeonsi: Use libdrm to get chipset name for radeon

2017-07-04 Thread Samuel Li
Change-Id: I98d17f4af07c30f1739b43db1a6e1616a58332ef Signed-off-by: Samuel Li --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c

Re: [Mesa-dev] [PATCH 05/19] mesa/st: start adding memory object support

2017-07-04 Thread Andres Rodriguez
On 2017-07-04 09:04 AM, Nicolai Hähnle wrote: On 01.07.2017 01:02, Andres Rodriguez wrote: From: Dave Airlie --- src/mesa/Makefile.sources| 2 + src/mesa/state_tracker/st_cb_memoryobjects.c | 65

Re: [Mesa-dev] [PATCH 1/6] i965: Make Gen4-5 SF_STATE use the point size calculations from Gen6+.

2017-07-04 Thread Kenneth Graunke
On Monday, July 3, 2017 1:06:04 PM PDT Andres Gomez wrote: > It looks like we could want this whole series into -stable (?) I probably wouldn't bother - it's a lot of churn, and isn't really known to fix any real applications...in fact not even test cases. Thanks for asking, though! --Ken

Re: [Mesa-dev] [PATCH 1/2] i965: Use true AA line distance on G45/Ironlake.

2017-07-04 Thread Kenneth Graunke
On Monday, July 3, 2017 1:57:16 PM PDT Andres Gomez wrote: > It looks like we could want these 2 into -stable (?) That seems reasonable. Feel free to pick them over. Thanks! signature.asc Description: This is a digitally signed message part. ___

[Mesa-dev] [RFC] travis: lower SWR requirement to GCC 4.8, aka std=c++11

2017-07-04 Thread Emil Velikov
From: Emil Velikov With ealier commit we relaxed the requirement from C++14 to C++11. Update the build script so that it Cc: Tim Rowley

Re: [Mesa-dev] [PATCH 09/19] radeonsi: add basic memory object support

2017-07-04 Thread Andres Rodriguez
On 2017-07-04 09:30 AM, Christian König wrote: Am 04.07.2017 um 15:13 schrieb Nicolai Hähnle: On 01.07.2017 01:03, Andres Rodriguez wrote: From: Dave Airlie Signed-off-by: Andres Rodriguez --- src/gallium/drivers/radeon/r600_pipe_common.h | 6 ++

Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Emil Velikov
On 4 July 2017 at 16:47, Rafael Avila de Espindola wrote: > Emil Velikov writes: > >> On 4 July 2017 at 16:04, Rafael Avila de Espindola >> wrote: >>> Emil Velikov writes: >>> So

Re: [Mesa-dev] [PATCH 04/19] gallium: introduce memory object

2017-07-04 Thread Andres Rodriguez
On 2017-07-04 09:19 AM, Nicolai Hähnle wrote: On 01.07.2017 01:02, Andres Rodriguez wrote: From: Dave Airlie --- src/gallium/include/pipe/p_screen.h | 36 src/gallium/include/pipe/p_state.h | 2 ++ 2 files changed, 38

[Mesa-dev] [PATCH v2 07/10] etnaviv: fold etna_screen_bo_get_handle into etna_resource_get_handle

2017-07-04 Thread Lucas Stach
There is no point in keeping this indirection. Makes the code easier to follow. Signed-off-by: Lucas Stach Reviewed-by: Wladimir J. van der Laan (v1) --- src/gallium/drivers/etnaviv/etnaviv_resource.c | 21 -

[Mesa-dev] [PATCH v2 03/10] etnaviv: pad scanout buffer size to RS alignment

2017-07-04 Thread Lucas Stach
This fixes failures to import the scanout buffer with screen resolutions that don't satisfy the RS alignment restrictions, like 1680x1050. Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner Reviewed-by: Philipp Zabel

[Mesa-dev] [PATCH v2 04/10] etnaviv: increment correct seqno for external resources

2017-07-04 Thread Lucas Stach
If we import a dma-buf with a sampler/pixel pipe incompatible modifier, the imported buffer will end up in an external resource view. As resource_changed signals the change of the imported resource, we need to update the external view seqno, instead of the base resource seqno. Signed-off-by:

[Mesa-dev] [PATCH v2 10/10] etnaviv: advertise supported dmabuf modifiers

2017-07-04 Thread Lucas Stach
Simply advertise all supported modifiers, independent of the format. Special formats, like compressed, which don't support all those modifiers are already culled from the dmabuf format list, as we don't support the render target binding for them. Signed-off-by: Lucas Stach

[Mesa-dev] [PATCH v2 08/10] etnaviv: fill in modifier in etna_resource_get_handle

2017-07-04 Thread Lucas Stach
This allows the state trackers to know the tiling layout of the resource and pass this through the various userspace protocols. Signed-off-by: Lucas Stach Reviewed-by: Wladimir J. van der Laan --- src/gallium/drivers/etnaviv/etnaviv_resource.c | 19

[Mesa-dev] [PATCH v2 02/10] etnaviv: add helper to work out RS alignment

2017-07-04 Thread Lucas Stach
The minimum RS alignment calculation is needed in various places. Extract a helper to avoid open-coding the calcuation at every site. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_resource.c | 14 +-

[Mesa-dev] [PATCH v2 01/10] renderonly/etnaviv: stop importing resource from renderonly

2017-07-04 Thread Lucas Stach
The current way of importing the resource from renderonly after allocation is opaque and is taking away control from the driver, which it needs in order to implement more advanced scenarios, than the simple linear scanout with matching stride alignments. Signed-off-by: Lucas Stach

[Mesa-dev] [PATCH v2 09/10] etnaviv: implement resource creation with modifier

2017-07-04 Thread Lucas Stach
This allows to create buffers with a specific tiling layout, which is primarily used by GBM to allocate the EGL back buffers with the correct tiling/modifier for use with the scanout engines. Signed-off-by: Lucas Stach --- src/gallium/drivers/etnaviv/etnaviv_resource.c |

[Mesa-dev] [PATCH v2 05/10] etnaviv: also update textures from external resources

2017-07-04 Thread Lucas Stach
This reworks the logic in etna_update_sampler_source to select the newest resource view for updating the texture view. This should make the logic easier to follow and fixes texture updates from imported dma-bufs. Signed-off-by: Lucas Stach Reviewed-by: Wladimir J. van der

[Mesa-dev] [PATCH v2 06/10] etnaviv: implement resource import with modifier

2017-07-04 Thread Lucas Stach
This implements resource import with modifier, deriving the correct internal layout from the modifier and constructing a render compatible base resource if needed. This removes the special cases for DDX and renderonly scanout allocated buffers, as the linear modifier is enough to trigger correct

Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Emil Velikov
On 4 July 2017 at 16:04, Rafael Avila de Espindola wrote: > Emil Velikov writes: > >> So the version is FOOgit-$SHA while the DSO uses, FOOsvn. At the same >> time at least 3.9.0/3.9.1 has broken llvm-config --libnames/libfiles, >> so we

Re: [Mesa-dev] gallium: Reduce trace_dump_box_bytes size by box->x.

2017-07-04 Thread Jose Fonseca
On 28/06/17 17:54, Cherniak, Bruce wrote: On Jun 26, 2017, at 2:10 PM, Marek Olšák wrote: In my opinion, dumping resources isn't very useful. I think it would be better to remove that completely. From Michel's response, sounds like dumping resources is useful, so... Back

Re: [Mesa-dev] gallium: Reduce trace_dump_box_bytes size by box->x.

2017-07-04 Thread Jose Fonseca
On 29/06/17 11:02, Michel Dänzer wrote: On 29/06/17 01:54 AM, Cherniak, Bruce wrote: On Jun 26, 2017, at 2:10 PM, Marek Olšák wrote: In my opinion, dumping resources isn't very useful. I think it would be better to remove that completely. From Michel's response, sounds

[Mesa-dev] [PATCH v6 6/6] mesa/st: glsl_to_tgsi: tie in new temporary register merge approach

2017-07-04 Thread Gert Wollny
This patch replaces the old register lifetime estiamtion and rename mapping evaluation with the new one. Performance to compare between the current and the new implementation were measured by running the shader-db in one thread. ---

[Mesa-dev] [PATCH v6 2/6] mesa/st: glsl_to_tgsi: implement new temporary register lifetime tracker

2017-07-04 Thread Gert Wollny
This patch adds a class for tracking the life times of temporary registers in the glsl to tgsi translation. The algorithm runs in three steps: First, in order to minimize the number of needed memory allocations the program is scanned to evaluate the number of scopes. Then, the program is scanned

[Mesa-dev] [PATCH v6 4/6] mesa/st: glsl_to_tgsi: add register rename mapping evaluator

2017-07-04 Thread Gert Wollny
The remapping evaluator first sorts the temporary registers ascending based on their first life time instruction, and then uses a binary search to find merge canidates. For the initial sorting it uses std::sort because qsort is quite slow in comparison. By removing the define USE_STL_SORT in

[Mesa-dev] [PATCH v6 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-07-04 Thread Gert Wollny
This patch adds a set of unit tests for the new lifetime tracker. --- configure.ac |1 + src/mesa/Makefile.am |2 +- src/mesa/state_tracker/tests/Makefile.am | 36 + .../tests/test_glsl_to_tgsi_lifetime.cpp

[Mesa-dev] [PATCH v6 5/6] mesa/st: glsl_to_tgsi: Add test set for evaluation of rename mapping

2017-07-04 Thread Gert Wollny
The patch adds tests for the register rename mapping evaluation and combined life time estimation and renaming. --- .../tests/test_glsl_to_tgsi_lifetime.cpp | 192 + 1 file changed, 192 insertions(+) diff --git

[Mesa-dev] [PATCH v6 1/6] mesa/st: glsl_to_tgsi move some helper classes to extra files

2017-07-04 Thread Gert Wollny
To prepare the implementation of a temp register lifetime tracker some of the classes are moved into seperate header/implementation files to make them accessible from other files. Specifically these are: class st_src_reg; class st_dst_reg; class glsl_to_tgsi_instruction; struct

[Mesa-dev] [PATCH v6 0/6] mesa/st: glsl_to_tgsi: improved temp-reg lifetime estimation

2017-07-04 Thread Gert Wollny
Dear Nicolai, this new version of the patch set that should address all the comments you gave for v5. Changes are: - the components are now tracked individually and the life time of a temporary is evaluated by merging the life-times of their components, - BRK/CONT are now handled

Re: [Mesa-dev] [PATCH 0/5] dri3, gallium: Correctness and performance fixes

2017-07-04 Thread Sinclair Yeh
This series: Reviewed-by: Sinclair Yeh On Thu, Jun 22, 2017 at 12:42:32PM +0200, Thomas Hellstrom wrote: > A patch series that deals with dri3 correctness- and performance fixes. > > The corectness fixes attempts to deal with the fact that we need to wait for > all pending

Re: [Mesa-dev] [PATCH] mesa/st: Reduce the number of frontbuffer flush calls

2017-07-04 Thread Sinclair Yeh
Reviewed-by: Sinclair Yeh On Thu, Jun 22, 2017 at 01:00:39PM +0200, Thomas Hellstrom wrote: > The mesa state tracker was needlessly flushing the front buffer even if it > hadn't been drawn to since the last flush. This was happening during > glXSwapBuffers if we at some point

[Mesa-dev] [PATCH 1/3] a5xx: update headers

2017-07-04 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a5xx/a5xx.xml.h | 57 ++- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h b/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h

[Mesa-dev] [PATCH 3/3] a5xx: enable formats newly added to the headers

2017-07-04 Thread Ilia Mirkin
This enables S3TC, BPTC, ETC2, and ASTC texture decoding. Additionally this enables RGB32 texture buffer objects, as well as 11_11_10_FLOAT and 10_10_10_2 vertex formats (and related extensions). Signed-off-by: Ilia Mirkin ---

[Mesa-dev] [PATCH 2/3] a5xx: include color swap when decoding vertices

2017-07-04 Thread Ilia Mirkin
This fixes support for BGRA vertex formats Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c index

Re: [Mesa-dev] [PATCH 09/19] radeonsi: add basic memory object support

2017-07-04 Thread Christian König
Am 04.07.2017 um 15:13 schrieb Nicolai Hähnle: On 01.07.2017 01:03, Andres Rodriguez wrote: From: Dave Airlie Signed-off-by: Andres Rodriguez --- src/gallium/drivers/radeon/r600_pipe_common.h | 6 ++ src/gallium/drivers/radeon/r600_texture.c |

Re: [Mesa-dev] [PATCH 04/19] gallium: introduce memory object

2017-07-04 Thread Nicolai Hähnle
On 01.07.2017 01:02, Andres Rodriguez wrote: From: Dave Airlie --- src/gallium/include/pipe/p_screen.h | 36 src/gallium/include/pipe/p_state.h | 2 ++ 2 files changed, 38 insertions(+) diff --git

Re: [Mesa-dev] [PATCH 09/19] radeonsi: add basic memory object support

2017-07-04 Thread Nicolai Hähnle
On 01.07.2017 01:03, Andres Rodriguez wrote: From: Dave Airlie Signed-off-by: Andres Rodriguez --- src/gallium/drivers/radeon/r600_pipe_common.h | 6 ++ src/gallium/drivers/radeon/r600_texture.c | 82 +++ 2 files

[Mesa-dev] [PATCH 2/6] radeonsi: make some si_descriptors fields 32-bit

2017-07-04 Thread Samuel Pitoiset
The number of bindless descriptors is dynamic and we definitely have to support more than 256 slots. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_state.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[Mesa-dev] [PATCH 6/6] radeonsi: try to re-use previously deleted bindless descriptor slots

2017-07-04 Thread Samuel Pitoiset
Currently, when the array is full it is resized but it can grow over and over because we don't try to re-use descriptor slots. The idea is to maintain two simple lists which keep track of which slots is used and which ones have been deleted. When the array is resized, previously deleted slots can

[Mesa-dev] [PATCH 5/6] radeonsi: use slot indexes for bindless handles

2017-07-04 Thread Samuel Pitoiset
Using VRAM address as bindless handles is not a good idea because we have to use LLVMIntToPTr and the LLVM CSE pass can't optimize because it has no information about the pointer. Instead, use slots indexes like the existing descriptors. This improves performance with DOW3 by +7%.

[Mesa-dev] [PATCH 1/6] radeonsi: declare new user SGPR indices for bindless samplers/images

2017-07-04 Thread Samuel Pitoiset
A new pair of user SGPR is needed for loading the bindless descriptors from shaders. Because the descriptors are global for all stages, there is no need to add separate indices for GFX9. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 4/6] radeonsi: add si_emit_graphics_shader_pointers() helper

2017-07-04 Thread Samuel Pitoiset
To share common code between rw buffers and bindless descriptors. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_descriptors.c | 57 +++ 1 file changed, 31 insertions(+), 26 deletions(-) diff --git

[Mesa-dev] [PATCH 3/6] radeonsi: only initialize dirty_mask when CE is used

2017-07-04 Thread Samuel Pitoiset
Looks like it's useless to initialize that field when CE is unused. This will also allow to declare more than 64 elements for the array of bindless descriptors. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_descriptors.c | 7 --- 1 file

Re: [Mesa-dev] [PATCH 05/19] mesa/st: start adding memory object support

2017-07-04 Thread Nicolai Hähnle
On 01.07.2017 01:02, Andres Rodriguez wrote: From: Dave Airlie --- src/mesa/Makefile.sources| 2 + src/mesa/state_tracker/st_cb_memoryobjects.c | 65 src/mesa/state_tracker/st_cb_memoryobjects.h | 25 +++

Re: [Mesa-dev] [PATCH v4 1/3] util: Add util_strlcpy

2017-07-04 Thread Gustaw Smolarczyk
4 lip 2017 14:25 "Robert Foss" napisał(a): Add local strlcpy implementation. Signed-off-by: Robert Foss --- Changes since v3: Matt Turner - Change name of util_strncpy to util_strlcpy Changes since v2: Brian

[Mesa-dev] [PATCH v4 1/3] util: Add util_strlcpy

2017-07-04 Thread Robert Foss
Add local strlcpy implementation. Signed-off-by: Robert Foss --- Changes since v3: Matt Turner - Change name of util_strncpy to util_strlcpy Changes since v2: Brian Paul - Patch added src/util/u_string.h | 9

[Mesa-dev] [PATCH v4 2/3] gallium/hud: Prevent buffer overflow in hud_thread_counter_install

2017-07-04 Thread Robert Foss
Switch to using util_strlcpy to avoid potential overflow of name array in struct hud_graph. Also extract the name element length into a define so that it can be used for strncpy et al. Coverity-id: 1413761 Signed-off-by: Robert Foss --- Changes since v3: Matt

[Mesa-dev] [PATCH v4 3/3] gallium/hud: Prevent buffer overflow in hud_thread_busy_install

2017-07-04 Thread Robert Foss
Switch to using util_strlcpy to avoid potential overflow of name array in struct hud_graph. Coverity-id: 1413760 Signed-off-by: Robert Foss --- Changes since v3: Matt Turner - Switch from util_strncpy to util_strlcpy Brian Paul

Re: [Mesa-dev] [Mesa-stable] [PATCH 00/16] anv: Fix our 48-bit problems

2017-07-04 Thread Andres Gomez
On Mon, 2017-07-03 at 22:48 -0700, Jason Ekstrand wrote: > On July 3, 2017 12:31:48 PM Andres Gomez wrote: > > > Never too late! ☺ > > > > On Fri, 2017-06-30 at 16:45 -0700, Jason Ekstrand wrote: > > > I know this is rather late but > > > > > > On June 26, 2017 1:15:16

Re: [Mesa-dev] [PATCH 03/11] renderonly/etnaviv: stop importing resource from renderonly

2017-07-04 Thread Lucas Stach
Am Montag, den 26.06.2017, 12:37 +0200 schrieb Philipp Zabel: > On Fri, 2017-06-23 at 17:50 +0200, Lucas Stach wrote: > > The current way of importing the resource from renderonly after allocation > > is opaque and is taking away control from the driver, which it needs in > > order to implement

[Mesa-dev] [PATCH v4 1/2] android: add etnaviv driver build support

2017-07-04 Thread Robert Foss
From: Rob Herring Add etnaviv to Android makefiles. Signed-off-by: Rob Herring Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- Changes sicne v3: Emil Velikov - Add

[Mesa-dev] [PATCH v4 2/2] android: build imx-drm winsys

2017-07-04 Thread Robert Foss
From: Tomeu Vizoso Add Android.mk for winsys/imx/drm. Signed-off-by: Tomeu Vizoso Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- Changes sicne v3: Emil Velikov

[Mesa-dev] [PATCH v4 0/2] Android etnaviv and imx support

2017-07-04 Thread Robert Foss
This series enables etnaviv and imx for the android platform. This is done through updating the Android build scripts. Rob Herring (1): android: add etnaviv driver build support Tomeu Vizoso (1): android: build imx-drm winsys Android.mk| 6 +++--

[Mesa-dev] [Bug 100627] EGL fails to fall back to DRI2 when DRI3 is enabled but not available

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100627 --- Comment #1 from Emil Velikov --- Rezny, nicely spotted. The EGL codebase is missing a few checks analogous to the GLX one. At the same time the i915/i965 are missing a drmGetCap(sPriv->fd, DRM_CAP_PRIME) call

Re: [Mesa-dev] [PATCH 2/2] radeonsi: drop few partial flushes when uploading bindless descriptors

2017-07-04 Thread Samuel Pitoiset
On 07/03/2017 09:22 PM, Nicolai Hähnle wrote: On 03.07.2017 18:33, Samuel Pitoiset wrote: On 07/03/2017 06:16 PM, Samuel Pitoiset wrote: On 07/03/2017 06:09 PM, Nicolai Hähnle wrote: On 03.07.2017 18:03, Nicolai Hähnle wrote: On 29.06.2017 21:59, Samuel Pitoiset wrote: Only emit

[Mesa-dev] [Bug 99956] build_id.c:36:20: error: unknown type name 'Elf_Nhdr'

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99956 --- Comment #4 from Emil Velikov --- Vinson do check the said site. Alternatively you can see/work with the FreeBSD people - they seems to have some partial solution there [1] [1]

Re: [Mesa-dev] [RFC PATCH 2/2] ac/nir: Don't treat each element as a vec4 in compute shared memory

2017-07-04 Thread Alex Smith
Hi Connor, Can confirm this does work here, thanks! Makes this patch redundant too, since that problem's also fixed by your changes: https://lists.freedesktop.org/archives/mesa-dev/2017-June/161559.html Alex On 4 July 2017 at 04:32, Connor Abbott wrote: > I'm going to do

Re: [Mesa-dev] [PATCH v2 1/4] glsl: look for multiple variables simultaneously with find_assignment_visitor

2017-07-04 Thread Nicolai Hähnle
On 03.07.2017 14:34, Nicolai Hähnle wrote: From: Nicolai Hähnle Save some passes over the IR. v2: redesign to make the users of find_assignments more readable Reviewed-by: Ian Romanick (v1) --- src/compiler/glsl/linker.cpp | 120

Re: [Mesa-dev] [PATCH] gles: Restore some lost typedefs

2017-07-04 Thread Eric Engestrom
On Friday, 2017-06-30 15:06:36 -0700, Ian Romanick wrote: > Has this been reported to upstream (i.e., Khronos)? I don't mind fixing > these in our tree, but they really should get fixed at the source too. I can't see any mention of this on neither the old Bugzilla (both private and public) nor

Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Mike Lothian
Hi I'm not seeing this issue on Gentoo. My llvm-config --version shows "5.0.0git-79da0992d18" I'm attaching the patch we use Regards Mike On Tue, 4 Jul 2017 at 10:10 Emil Velikov wrote: > On 3 July 2017 at 22:51, Andy Furniss wrote: > > Emil

Re: [Mesa-dev] configure fails to find llvm since recent llvm commit.

2017-07-04 Thread Emil Velikov
On 3 July 2017 at 22:51, Andy Furniss wrote: > Emil Velikov wrote: >> >> On 3 July 2017 at 16:31, Andy Furniss wrote: >>> >>> Rafael Avila de Espindola wrote: What check is configure doing? >>> >>> >>> >>> Not sure just a user. >>> Is

Re: [Mesa-dev] [PATCH] st/mesa: release EGLImage on EGLImageTarget* error

2017-07-04 Thread Lucas Stach
Am Montag, den 03.07.2017, 17:18 +0200 schrieb Marek Olšák: > Reviewed-by: Marek Olšák Thanks, pushed. > On Fri, Jun 30, 2017 at 11:03 AM, Philipp Zabel > wrote: > > The smapi->get_egl_image() call in st_egl_image_get_surface() stores a > >

[Mesa-dev] [Bug 101560] SPIR-V OpSwitch with int64 not supported even though shaderInt64 is true

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101560 programmerj...@gmail.com changed: What|Removed |Added Component|Drivers/Vulkan/intel|Drivers/Vulkan/radeon

[Mesa-dev] [Bug 97957] Awful screen tearing in a separate X server with DRI3

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97957 --- Comment #19 from Thomas Hellström --- Hi! I'm on vacation and will be back on Monday July 31st. For vmware linux graphics driver issues, please contact Thanks, Thomas Hellström

[Mesa-dev] [Bug 97957] Awful screen tearing in a separate X server with DRI3

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97957 Michel Dänzer changed: What|Removed |Added Attachment #132276|0 |1 is

[Mesa-dev] [Bug 99956] build_id.c:36:20: error: unknown type name 'Elf_Nhdr'

2017-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99956 Vinson Lee changed: What|Removed |Added Version|git |17.1 -- You are