[Mesa-dev] [PATCH] android: build i965_compile_FILES sources

2015-10-11 Thread Mauro Rossi
i965_compile_FILES need to be built, in order to avoid following building errors: target SharedLib: i915_dri (out/target/product/x86/obj/SHARED_LIBRARIES/i915_dri_intermediates/LINKED/i915_dri.so) external/mesa/src/mesa/drivers/dri/i965/brw_ir_fs.h:181: error: undefined reference to 'fs_inst::~

Re: [Mesa-dev] [PATCH] android: fix shader_enums.c building error

2015-10-11 Thread Mauro Rossi
22:33 GMT+02:00 Mauro Rossi : > Android.mk in src/mesa/program folder needs an adjustement, > because shader_enums.c can only be found in the relative path > ../../glsl/shader_enums.c > --- > src/mesa/program/Android.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) &g

Re: [Mesa-dev] [PATCH] android: build i965_compile_FILES sources

2015-10-12 Thread Mauro Rossi
The response is in the first line of the of the patch motivations, the build error affects lollipop-x86 build and it would have affected marshmallow-x86 too, if not addressed. There is still no solution for the fonts problems Mauro Il giorno lunedì 12 ottobre 2015 14:15:51 UTC+2, Florian Wiede

[Mesa-dev] [PATCH] android: fix LOCAL_C_INCLUDES to find glsl_types.h

2015-11-05 Thread Mauro Rossi
These changes are necessary to avoid building errors in glsl and i965 --- src/glsl/Android.mk | 6 -- src/mesa/drivers/dri/i965/Android.mk | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/glsl/Android.mk b/src/glsl/Android.mk index f63b7da..6902ea4 1

Re: [Mesa-dev] [PATCH] android: fix LOCAL_C_INCLUDES to find glsl_types.h

2015-11-06 Thread Mauro Rossi
Hi Emil, by exporting the path of glsl nir headers, mesa builds without problems. You can find in the attachment the formatted patch. Thanks Mauro 2015-11-06 18:26 GMT+01:00 Emil Velikov : > Hi Mauro > > On 6 November 2015 at 03:31, Mauro Rossi wrote: > > These changes a

Re: [Mesa-dev] [PATCH] android: fix LOCAL_C_INCLUDES to find glsl_types.h

2015-11-08 Thread Mauro Rossi
, added other android-x86 developers in CC. Mauro 2015-11-07 1:29 GMT+01:00 Mauro Rossi : > Hi Emil, > > by exporting the path of glsl nir headers, mesa builds without problems. > > You can find in the attachment the formatted patch. > Thanks > > Mauro > > > > 201

Re: [Mesa-dev] [PATCH] android: fix LOCAL_C_INCLUDES to find glsl_types.h

2015-11-08 Thread Mauro Rossi
^ compilation terminated. build/core/binary.mk:620: recipe for target 'out/target/product/x86/obj/SHARED_LIBRARIES/i965_dri_intermediates/brw_fs_channel_expressions.o' failed make: *** [out/target/product/x86/obj/SHARED_LIBRARIES/i965_dri_intermediates/brw_fs_channel_express

Re: [Mesa-dev] [PATCH] android: fix LOCAL_C_INCLUDES to find glsl_types.h

2015-11-14 Thread Mauro Rossi
odule. My last problem was probably due to uncleaned mesa targets folders in $OUT path, now I have checked again and building errors are gone. Thanks a lot Emil and Chih-Wei Mauro 2015-11-08 14:12 GMT+01:00 Emil Velikov : > Hi Mauro, > > On 8 November 2015 at 12:59, Mauro Rossi wrot

[Mesa-dev] [PATCH] android: fix llvm, elf dependencies for M, N releases

2017-01-30 Thread Mauro Rossi
These changes set the correct llvm version and elf include path which differ for Marshmallow and Nougat --- Android.common.mk | 14 -- src/amd/Android.common.mk | 2 +- src/gallium/Android.common.mk | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] [PATCH] android: radeonsi: fix sid_table.h generated header include path

2017-02-07 Thread Mauro Rossi
generated-sources-dir-for macro replaces intermediates-dir-for and LOCAL_MODULE_CLASS is defined as required by new macro, in order to avoid the following building error: external/mesa/src/gallium/drivers/radeonsi/si_debug.c:29:10: fatal error: 'sid_tables.h' file not found ^ 1 error gen

[Mesa-dev] [PATCH] android: glsl: build shader cache sources

2017-02-18 Thread Mauro Rossi
Fixes the following building errors: external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)' external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference to 'shader_cache_write_program_

[Mesa-dev] [PATCH] android: define HAVE_DL_ITERATE_PHDR for build-id code

2017-02-18 Thread Mauro Rossi
Required due to d4fa083 "util: Add utility build-id code." to avoid following build error and warnings: external/mesa/src/intel/vulkan/anv_device.c:60:32: error: incompatible integer to pointer conversion initializing 'const struct build_id_note *' with an expression of type 'int' [-Werror,-Wint

Re: [Mesa-dev] [RESEND 08/13] anv: generate anv_entrypoints.{h, c} in one command

2017-02-24 Thread Mauro Rossi
2017-02-23 12:41 GMT+01:00 Tapani Pälli : > > > On 02/23/2017 12:32 PM, Emil Velikov wrote: > >> On 22 February 2017 at 23:35, Dylan Baker wrote: >> >>> This changes the python generator to write the files itself, rather than >>> piping them out. This has a couple of advantages: first, it encapsu

Re: [Mesa-dev] [RESEND 08/13] anv: generate anv_entrypoints.{h, c} in one command

2017-02-25 Thread Mauro Rossi
> > Besides this issue, also 8e03250fcf4fc5de31e92ca4919959d932888a69 > "vulkan: Combine wsi and util makefiles" requires changes/an Android.mk > makefile > > Regarding the -o argument, > it is indeed essential for Android Build System that generated > sources/headers > go in $(OUT)/gen/{EXECUTAB

[Mesa-dev] [PATCH] android: vulkan: add support for libmesa_vulkan_{util, wsi}

2017-02-25 Thread Mauro Rossi
100644 index 000..4ba5750 --- /dev/null +++ b/src/vulkan/Android.mk @@ -0,0 +1,70 @@ +# Copyright © 2017 Mauro Rossi +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# t

Re: [Mesa-dev] [PATCH] android: vulkan: add support for libmesa_vulkan_{util, wsi}

2017-02-27 Thread Mauro Rossi
Thanks a lot for your feedbacks. Here follows final version. Mauro >From d0db1d0fd07fd0b5fb7580bb8dddf109389f28ba Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Tue, 28 Feb 2017 01:24:41 +0100 Subject: [PATCH] android: vulkan: add support for libmesa_vulkan_util The following changes

[Mesa-dev] [PATCH 2/2] android: enable amdgpu winsys in radeonsi driver

2015-08-18 Thread Mauro Rossi
--- src/gallium/targets/dri/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 7168e1d..a33d7f8 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@

[Mesa-dev] [PATCH 1/2] android: fix cflags and includes for amdgpu winsys

2015-08-18 Thread Mauro Rossi
--- src/gallium/winsys/amdgpu/drm/Android.mk | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/gallium/winsys/amdgpu/drm/Android.mk b/src/gallium/winsys/amdgpu/drm/Android.mk index 7d507aa..5773234 100644 --- a/src/gallium/winsys/amdgpu/drm/Android.mk +++ b/src/gallium/winsys/am

[Mesa-dev] [PATCH 2/3] android: rename LLVM_VERSION_PATCH to MESA_LLVM_VERSION_PATCH

2015-08-23 Thread Mauro Rossi
--- Android.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.common.mk b/Android.common.mk index d662d60..f7556d7 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -70,7 +70,7 @@ endif ifeq ($(MESA_ENABLE_LLVM),true) LOCAL_CFLAGS += \ - -DHAVE

[Mesa-dev] [PATCH 1/3] android: fix nv50_ir_print.cpp buiding error with operator PRIx64

2015-08-23 Thread Mauro Rossi
--- src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp index 9ebdc65..5f30f3d 100644 --- a/src/gallium/drivers/nouve

[Mesa-dev] [PATCH 3/3] android: Always define __STDC_LIMIT_MACROS.

2015-08-23 Thread Mauro Rossi
--- Android.common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Android.common.mk b/Android.common.mk index f7556d7..466e306 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -42,6 +42,7 @@ LOCAL_CFLAGS += \ -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_V

[Mesa-dev] [PATCH 0/3] A few fixes of building errors with Android-x86

2015-08-23 Thread Mauro Rossi
Here follow three trivial patches for android. Kind regards Mauro [PATCH 1/3] android: fix nv50_ir_print.cpp buiding error with operator PRIx64 The PRINT function will not complain anymore with the additional space. [PATCH 2/3] android: rename LLVM_VERSION_PATCH to MESA_LLVM_VERSION_PATCH Du

[Mesa-dev] [PATCH] android: intel/genxml: add rules to generate xml headers

2016-10-09 Thread Mauro Rossi
ep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 9 Oct 2016 11:40:42 +0200 Subject: [PATCH] android: intel/genxml: add rules to generate xml headers New generated headers were introduced by commit 63a366a "intel: aubinator: generate a standalone binary" Once the generated f

Re: [Mesa-dev] [PATCH] android: intel/genxml: add rules to generate xml headers

2016-10-10 Thread Mauro Rossi
2016-10-10 13:04 GMT+02:00 Emil Velikov : > Hi Mauro, > > On 9 October 2016 at 11:13, Mauro Rossi wrote: > >> New generated headers were introduced by commit 63a366a >> "intel: aubinator: generate a standalone binary" >> >> Once the generated

Re: [Mesa-dev] [PATCH 25/32] i965: Move gen6_blorp.c to a file that gets recompiled per-gen

2016-08-19 Thread Mauro Rossi
2016-08-15 18:43 GMT+02:00 Jason Ekstrand : >> >> > --- >> > src/mesa/drivers/dri/i965/Makefile.am | 14 +- >> > src/mesa/drivers/dri/i965/Makefile.sources | 5 +- >> > src/mesa/drivers/dri/i965/gen6_blorp.c | 400 >> > >> > src/mesa/drivers/dri/i965/ge

Re: [Mesa-dev] [PATCH 25/32] i965: Move gen6_blorp.c to a file that gets recompiled per-gen

2016-08-19 Thread Mauro Rossi
From 4f105a68918b6ee25f1d0d71bc26dc39abed61d7 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Fri, 19 Aug 2016 23:36:11 +0200 Subject: [PATCH 1/3] android: i965: add per-gen libmesa_i965_gen6 static library Needed to fix android build after commit c8bc1ae where new per-gen genX_blorp.c source

Re: [Mesa-dev] [PATCH 25/32] i965: Move gen6_blorp.c to a file that gets recompiled per-gen

2016-08-19 Thread Mauro Rossi
From 6a20bec0a5947cd9c33024db3af51546eeac3062 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Fri, 19 Aug 2016 23:55:54 +0200 Subject: [PATCH 2/3] android: i965: add per-gen libmesa_i965_gen{7,75} static libraries Needed to fix android build after commit e198983 which enabled genxml for gen

Re: [Mesa-dev] [PATCH 25/32] i965: Move gen6_blorp.c to a file that gets recompiled per-gen

2016-08-19 Thread Mauro Rossi
From 88e08ee520b7c8a14b17160a9e7102d72fed8ecb Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 20 Aug 2016 00:04:29 +0200 Subject: [PATCH 3/3] android: i965: add per-gen libmesa_i965_gen{8,9} static Needed to fix android build after commit 16a9fcb which enabled genxml for gen{8,9} state

Re: [Mesa-dev] [PATCH 3/3] isl: add support for Android libmesa_isl static library

2016-08-26 Thread Mauro Rossi
2016-08-26 12:27 GMT+02:00 Tapani Pälli : > Hi; > > This is patch is causing build issues for me, how was this tested? > Hi, thanks for highlighting the issue, My patch was tested and reviewed, the current android build breakage due to following commit, upstreamed 13 hours ago: https://cgit.fre

Re: [Mesa-dev] [PATCH] android: fix build issues with genxml, isl

2016-08-27 Thread Mauro Rossi
attachment in case gmail causes problems. Mauro >From 4769f3e4b51fc804676d2b7b2ea320cfa5fffdde Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 27 Aug 2016 17:19:34 +0200 Subject: [PATCH] android: intel: Flatten the makefile structure Android porting of commit bebc1a1 "intel: Flatten the

Re: [Mesa-dev] [PATCH] android: fix build issues with genxml, isl

2016-08-28 Thread Mauro Rossi
t; KR Mauro >From 3ae8ea625b5cb091438de421d9762ea8bcb8e2bc Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Mon, 29 Aug 2016 03:08:02 +0200 Subject: [PATCH] android: i965: Move blorp into src/intel/blorp Port to android of commit "i965: Move blorp into src/intel/blorp" li

Re: [Mesa-dev] [PATCH 1/8] intel: Add a new "common" library for more code sharing

2016-09-01 Thread Mauro Rossi
rc/intel/Makefile.common.am >> rename src/{mesa/drivers/dri/i965 => intel/common}/brw_device_info.c >> (100%) >> rename src/{mesa/drivers/dri/i965 => intel/common}/brw_device_info.h >> (100%) >> >> diff --git a/src/intel/Android.common.mk b/src/intel/Android.common.mk >

Re: [Mesa-dev] [PATCH] Android: glsl: add rules to generate ir_expression*.h header files

2016-09-03 Thread Mauro Rossi
2016-09-02 11:50 GMT+02:00 Emil Velikov : > On 2 September 2016 at 05:35, Tapani Pälli wrote: >> Hi; >> >> Thanks, I was trying to work on the same issue but did not quite get it >> working .. will test this one with N build. >> >> FYI this patch contains both of these (which I believe were issues

Re: [Mesa-dev] [PATCH 1/8] intel: Add a new "common" library for more code sharing

2016-09-03 Thread Mauro Rossi
Hi, minor changes are required to Android.common.mk include paths. Build tested with android 7.0 Cheers M. >From e783a73d15e0e49bb323b2e47bc2de0b51ceffa2 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 4 Sep 2016 00:50:48 +0200 Subject: [PATCH] android: intel: fix include paths in

Re: [Mesa-dev] [PATCH] android: fix a build issue with libmesa_st_mesa_32

2016-09-07 Thread Mauro Rossi
Hi Tapani, does moving the declaration of the dependency to src/mesa/drivers/dri/i965/Android.mk also work? Mauro LOCAL_WHOLE_STATIC_LIBRARIES := \ $(MESA_DRI_WHOLE_STATIC_LIBRARIES) \ + libmesa_genxml \ libmesa_isl ___ mesa-dev mailing list mesa-dev@li

Re: [Mesa-dev] [PATCH] android: fix a build issue with libmesa_st_mesa_32

2016-09-07 Thread Mauro Rossi
2016-09-07 12:56 GMT+02:00 Emil Velikov : > On 7 September 2016 at 11:01, Mauro Rossi wrote: > > Hi Tapani, > > > > does moving the declaration of the dependency to > > src/mesa/drivers/dri/i965/Android.mk also work? > > Mauro >

[Mesa-dev] Check about recent changes in amdgpu

2016-09-09 Thread Mauro Rossi
dback, I will submit the final version of patch to fix android build for review, while in the following brach I have the workaround I've mentioned: https://github.com/maurossi/mesa/commits/12.1.0devel_nougat-x86_10-sep-2016 Mauro Rossi issor.or...@gmail.com In file included from external/mesa/sr

Re: [Mesa-dev] Check about recent changes in amdgpu

2016-09-12 Thread Mauro Rossi
ccfa9b18a3f Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Tue, 13 Sep 2016 01:15:16 +0200 Subject: [PATCH] android: add support for libmesa_amdgpu_addrlib Android porting of the following commits: f1f1ba3 "radeonsi: move sid.h/r600d_common.h to a common place." 69fca64 "amd/addr

Re: [Mesa-dev] [RFC] mesa: drop current draw/read buffer when ctx is released

2016-11-01 Thread Mauro Rossi
> Mauro or Chih-Wei should be able to answer this (being do static > wallpapers work in i965?). > > Rob Hi, I've perfomed tests with mesa https://github.com/maurossi/mesa/commits/13.0.0_nougat-x86 and the deafult pink wallpaper of nougat-x86 is working on i965 NOTE: I have cherry-picked android-i

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

2016-11-05 Thread Mauro Rossi
Hi Nicolai, please review the attached patch which is necessary fix android build, as per https://bugs.freedesktop.org/show_bug.cgi?id=98573 Tested with nougat-x86 build Kind regards Mauro >From 36777861d42ec5ae0c0ed6a60835c76d13e38555 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat

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

2016-11-05 Thread Mauro Rossi
2016-11-05 18:58 GMT+01:00 Marek Olšák : > Hi, > > I pushed the patch from the bug report. Hopefully it's the same as this one. > > Marek Hi Marek, thanks, it is identical. As a side note, for any people trying to build mesa-dev for android, a problem affecting our nougat-x86 x84_64 build is tha

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

2016-11-12 Thread Mauro Rossi
uilding errors, probably related to this fact. Please review and check by launching a build on your more stable linux build systems/CI jobs, before pushing to mesa-dev Thanks Mauro >From f78f66049118db3ed9b241dfd020418efe52c10b Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 12 Nov 2

[Mesa-dev] i915: Enable EGL_KHR_{fence,wait}_sync

2016-07-13 Thread Mauro Rossi
Sending patches to implement DRI2_Fence extension for i915, to enable EGL_KHR_fence_sync and EGL_KHR_wait_sync. It is the step-by-step porting to i915 of i965/sync, plus patch to support {server,client}_wait_sync without bound context. [PATCH 1/3] i915/sync: Replace prefix 'intel_sync' -> 'intel_

[Mesa-dev] [PATCH 3/3] i915: store reference to the context within struct intel_fence

2016-07-13 Thread Mauro Rossi
Porting of the corresponding experimental patch for i965, i.e. commit 67adb45 in external/mesa project branch x86/marshmallow-x86 in Android-x86 repo. Here follows the original commit message by Emil Velikov: "As the spec allows for {server,client}_wait_sync to be called without currently bound c

[Mesa-dev] [PATCH 1/3] i915/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync'

2016-07-13 Thread Mauro Rossi
This is the porting of corresponding patch for i965, i.e. commit 2516d83 i965/sync: Replace prefix 'intel_sync' -> 'intel_gl_sync' The only difference compared to i965 one is that intel_check_sync() was renamed to intel_gl_check_sync() here, as it is more appropriate. Here follows original commit

[Mesa-dev] [PATCH 2/3] i915/sync: Implement DRI2_Fence extension

2016-07-13 Thread Mauro Rossi
Here is the porting of corresponding patch for i965, i.e. commit c636284 i965/sync: Implement DRI2_Fence extension Here follows part of original commit message by Chad Versace: "This enables EGL_KHR_fence_sync and EGL_KHR_wait_sync." Cc: "12.0" --- src/mesa/drivers/dri/i915/intel_screen.c |

Re: [Mesa-dev] i915: Enable EGL_KHR_{fence,wait}_sync

2016-07-14 Thread Mauro Rossi
2016-07-14 5:33 GMT+02:00 Mauro Rossi : > Sending patches to implement DRI2_Fence extension for i915, > to enable EGL_KHR_fence_sync and EGL_KHR_wait_sync. > > It is the step-by-step porting to i915 of i965/sync, > plus patch to support {server,client}_wait_sync without bound cont

Re: [Mesa-dev] [Mesa-stable] i915: Enable EGL_KHR_{fence, wait}_sync

2016-07-15 Thread Mauro Rossi
2016-07-15 21:18 GMT+02:00 Emil Velikov : > Hi Mauro, > > On 14 July 2016 at 04:33, Mauro Rossi wrote: > > Sending patches to implement DRI2_Fence extension for i915, > > to enable EGL_KHR_fence_sync and EGL_KHR_wait_sync. > > > > It is the step-by-step porti

Re: [Mesa-dev] [PATCH 3/3] i915: store reference to the context within struct intel_fence

2016-07-15 Thread Mauro Rossi
s-tf > I get the same results as per i965GM Mauro >From d35c093d48facae4ad0d7119a8b6fdc898a6a1e8 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Fri, 15 Jul 2016 21:46:09 +0200 Subject: [PATCH] i915: store reference to the context within struct intel_fence (v2) Porting of the correspon

[Mesa-dev] [PATCH 2/3] i965: fix glsl/float64_glsl.h include

2019-02-02 Thread Mauro Rossi
in builddir is added accordingly Signed-off-by: Mauro Rossi Fixes: 7d7b308 ("automake: Fix path to generated source") Fixes: b63a1f8 ("glsl: Create file to contain software fp64 functions") Cc: 19.0 --- src/mesa/drivers/dri/i965/Makefile.am | 1 + src/mesa/drivers/dri/i965/

[Mesa-dev] [PATCH 3/3] meson: i965: add inc_compiler include

2019-02-02 Thread Mauro Rossi
With new glsl/float64_glsl.h include, required in i965 source to correctly build Android and with automake, inc_compiler is added in meson build includes. It may not be necessary for meson, but it is formally correct Signed-off-by: Mauro Rossi Fixes: 7d7b308 ("automake: Fix path to gene

[Mesa-dev] [PATCH 1/3] android: glsl: fix fp64 generated source path

2019-02-02 Thread Mauro Rossi
a_glsl_intermediates/glsl/float64_glsl.h', missing and no known rule to make it Signed-off-by: Mauro Rossi Fixes: 7d7b308 ("automake: Fix path to generated source") Fixes: b63a1f8 ("glsl: Create file to contain software fp64 functions") Cc: 19.0 --- src/compiler/Andro

Re: [Mesa-dev] [PATCH 1/3] android: glsl: fix fp64 generated source path

2019-02-02 Thread Mauro Rossi
Hi, sorry I just saw that there is a similar correction is already in both 19.0 and master branches but I missed it because I searched only in mesa-dev ML Please Dylan, just check if the 3rd patch makes sense or not necessary at all. Mauro On Sat, Feb 2, 2019 at 11:30 AM Mauro Rossi wrote

[Mesa-dev] [PATCH] android: intel/isl: remove redundant building rules

2019-02-21 Thread Mauro Rossi
.ninja] Error 1 ISL_TILED_MEMCPY_FILES is isl/isl_tiled_memcpy_normal.c and that source file includes isl_tiled_memcpy.c source Fixes: 96bb328 ("iris: add Android build") Signed-off-by: Mauro Rossi --- src/intel/Android.isl.mk | 13 - 1 file changed, 13 deletions(-) diff -

[Mesa-dev] [PATCH 1/2] android: anv: fix generated files depedencies

2019-03-03 Thread Mauro Rossi
: anv/extensions: fix generated sources build") Fixes: dd088d4bec7 ("anv/extensions: Generate a header file with extension tables") Signed-off-by: Mauro Rossi Cc: "19.0" --- src/intel/Android.vulkan.mk | 38 +++-- 1 file changed, 24 insert

[Mesa-dev] [PATCH 2/2] android: anv: fix libexpat shared dependency

2019-03-03 Thread Mauro Rossi
Fixes undefined reference building errors for XML_* functions Signed-off-by: Mauro Rossi Cc: "19.0" --- src/intel/Android.vulkan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk index 2e99ac6294..c9bce50

[Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-03 Thread Mauro Rossi
Necessary to avoid building error in Android, due to 'compiler/glsl/float64_glsl.h' file not found Fixes: cb4e3e3 ("st/mesa: add support for lowering fp64/int64 for nir drivers") Signed-off-by: Mauro Rossi --- src/mesa/Android.libmesa_st_mesa.mk | 1 + src/m

Re: [Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-04 Thread Mauro Rossi
Hi Tapani, On Mon, Mar 4, 2019 at 6:51 AM Tapani Pälli wrote: > > Hi; > > On 3/3/19 10:10 PM, Mauro Rossi wrote: > > Necessary to avoid building error in Android, > > due to 'compiler/glsl/float64_glsl.h' file not found > > > > Fixes: cb4e3e3 ("s

[Mesa-dev] [PATCH] android: anv: fix generated files depedencies (v2)

2019-03-04 Thread Mauro Rossi
$(VULKAN_API_XML) reference Fixes: 9a508b7 ("android: anv/extensions: fix generated sources build") Fixes: dd088d4bec7 ("anv/extensions: Generate a header file with extension tables") Signed-off-by: Mauro Rossi Cc: "19.0" --- src/intel/Android.vulkan.mk | 40 +++

Re: [Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-04 Thread Mauro Rossi
tried to build with meson and it's ok Il lun 4 mar 2019, 18:59 Dylan Baker ha scritto: > Quoting Mauro Rossi (2019-03-04 01:21:05) > > Hi Tapani, > > On Mon, Mar 4, 2019 at 6:51 AM Tapani Pälli > wrote: > > > > > > Hi; > > > > > > O

Re: [Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-04 Thread Mauro Rossi
Hi, On Mon, Mar 4, 2019 at 7:50 PM Mauro Rossi wrote: > > Hi, > Sounds good to me. > > The way it could have been prevented was to avoid having fp64 generated file > as the only one with with different path in sources. > > Could you just confirm that inc_compiler is n

Re: [Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-10 Thread Mauro Rossi
Hi Jordan, On Wed, Mar 6, 2019 at 10:01 PM Jordan Justen wrote: > > On 2019-03-04 16:11:33, Jordan Justen wrote: > > On 2019-03-04 15:21:26, Mauro Rossi wrote: > > > Hi, > > > On Mon, Mar 4, 2019 at 7:50 PM Mauro Rossi wrote: > > > > > > >

[Mesa-dev] Building error in android-x86 due to recent mesa commit

2019-03-16 Thread Mauro Rossi
Hi Marek, I'm getting the following building error after commit [1] but I don't understand why. Mauro external/mesa/src/gallium/drivers/radeonsi/si_compute.c:807:8: error: initializing 'uint *' (aka 'unsigned int *') with an expression of type 'uint const[3]' discards qualifiers [-Werror,-Wincom

Re: [Mesa-dev] Building error in android-x86 due to recent mesa commit

2019-03-16 Thread Mauro Rossi
Hi Bas, many thanks Mauro On Sat, Mar 16, 2019 at 11:02 PM Bas Nieuwenhuizen wrote: > > Should be fixed when > > https://gitlab.freedesktop.org/mesa/mesa/merge_requests/456 > > is merged. > > On Sat, Mar 16, 2019 at 10:16 PM Mauro Rossi wrote: > > > > Hi Mare

[Mesa-dev] [PATCH] android: nouveau: add support for nir

2019-03-17 Thread Mauro Rossi
Add the necessary build rules for android, to avoid building errors. Fixes: f014ae3 ("nouveau: add support for nir") Signed-off-by: Mauro Rossi --- src/gallium/drivers/nouveau/Android.mk | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gallium/drive

Re: [Mesa-dev] [PATCH] android: nouveau: add support for nir

2019-03-17 Thread Mauro Rossi
Hi Karol, On Sun, Mar 17, 2019 at 11:25 PM Karol Herbst wrote: > > On Sun, Mar 17, 2019 at 10:52 PM Mauro Rossi wrote: > > > > Add the necessary build rules for android, to avoid building errors. > > > > Fixes: f014ae3 ("nouveau: add support for n

[Mesa-dev] [PATCH] android: add support for sid_tables.h generated sources

2015-09-06 Thread Mauro Rossi
This patch is necessary to avoid building error on android, due to missing sid_tables.h generated sources --- src/gallium/drivers/radeonsi/Android.mk | 13 - src/gallium/drivers/radeonsi/Makefile.sources | 3 +++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src

[Mesa-dev] [PATCH] android: radeonsi: fix sid_tables.h missing LOCAL_MODULE_CLASS

2015-09-23 Thread Mauro Rossi
--- src/gallium/drivers/radeonsi/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/Android.mk b/src/gallium/drivers/radeonsi/Android.mk index b469aca..7e5e54b 100644 --- a/src/gallium/drivers/radeonsi/Android.mk +++ b/src/gallium/drivers/radeonsi/Android.

[Mesa-dev] [PATCH] android: fix shader_enums.c building error

2015-09-23 Thread Mauro Rossi
Android.mk in src/mesa/program folder needs an adjustement, because shader_enums.c can only be found in the relative path ../../glsl/shader_enums.c --- src/mesa/program/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/Android.mk b/src/mesa/program/An

Re: [Mesa-dev] Pending issues of lollipop-x86

2015-09-26 Thread Mauro Rossi
Hi, Marek's patches solved Camera and Youtube crashes on nouveau and radeonsi. I'm available to test on i965, if needed I think at this point the remaining major problem for lollipop-x86 is the font artifacts/invisible chars on i965GM (X3100) still present in mesa 11.0.0, I need to check with 11.

[Mesa-dev] Announcement: 5 patches to fix building errors with android-x86

2016-02-01 Thread Mauro Rossi
some changes, please just let me know. Kind regards Mauro Rossi ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 4/5] android: fix building with new glsl, nir, compiler libraries

2016-02-01 Thread Mauro Rossi
This android specific patch solves several building errors introduced by commit that moved glsl to src/compiler/ folder and fixes also the building errors due to nir and compiler carve out from old libmesa_glsl. Here follows the changelog: the now non-existent src/glsl subfolder was removed from

[Mesa-dev] [PATCH 1/5] android: libmesa_st_mesa: use SSE4.1 optimizations

2016-02-01 Thread Mauro Rossi
The new building rules for x86_64 target in marshallow have by default ARCH_X86_HAVE_SSE4_1 := true This triggered a linking issue when building gallium_dri, because libmesa_st_mesa is used as static library, but the SSE4.1 optimizations are only built with libmesa_dricore. This solution allows t

[Mesa-dev] [PATCH 5/5] android: add support for virgl vtest

2016-02-01 Thread Mauro Rossi
These changes are needed to avoid the following building error: external/mesa/src/gallium/auxiliary/target-helpers/sw_helper.h:41: error: undefined reference to 'virgl_vtest_winsys_wrap' collect2: error: ld returned 1 exit status build/core/shared_library_internal.mk:80: recipe for target 'out/t

[Mesa-dev] [PATCH 3/5] android: nouveau_vp3_video_bsp: wrap assertion within #ifndef NDEBUG

2016-02-01 Thread Mauro Rossi
The change is necessary to avoid the following building error in android: external/mesa/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c: In function 'nouveau_vp3_bsp_next': external/mesa/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c:269:14: error: 'bsp_bo' undeclared (first use in this

[Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-01 Thread Mauro Rossi
Bionic does not support strchrnul() function, causing the following building error: external/mesa/src/gallium/drivers/radeonsi/si_shader.c:3863: error: undefined reference to 'strchrnul' collect2: error: ld returned 1 exit status This patch embeds the code of strchrnul() in si_shader.c, in the s

Re: [Mesa-dev] [android-x86-devel] Announcement: 5 patches to fix building errors with android-x86

2016-02-02 Thread Mauro Rossi
> I've submitted similar set to mesa list on Friday. 1, 2, 4, and 5 > appear to be similar. > > Rob Thanks Rob, I need to watch more carefully the mesa-dev archives next time M. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.free

Re: [Mesa-dev] [android-x86-devel] [PATCH 4/5] android: fix building with new glsl, nir, compiler libraries

2016-02-02 Thread Mauro Rossi
Hi, > per each target that depended on the old libmesa_glsl static, > > dependencies were checked and updated according to the new > > libmesa_glsl, libmesa_nir and libmesa_compiler static libraries > > Looks pretty similar to my changes except for a few things. > ... > > src/gallium/drivers

Re: [Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-02 Thread Mauro Rossi
Hi Michel, Patch was updated according to the instructions and log/commit messages changed. Thanks for the advice Mauro >From 7a9090bffa434b78d8654c4c6d4c8dc0ec00c524 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Wed, 3 Feb 2016 03:54:08 +0100 Subject: [PATCH] android: radeonsi:

Re: [Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-06 Thread Mauro Rossi
>From 8030a6cd9d7bb3320fca94038f1969db56223598 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 6 Feb 2016 23:52:36 +0100 Subject: [PATCH 1/2] android: add support for strchrnul Android Bionic has no strchrnul in string functions, radeonsi uses strchrnul, so we need an implementat

Re: [Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-06 Thread Mauro Rossi
>From e33d112be85e86c2537c26622969dea7dfd16186 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 6 Feb 2016 23:54:24 +0100 Subject: [PATCH 2/2] android: radeonsi: fix building error in si_shader.c Android Bionic does not support strchrnul() function, causing the following building er

Re: [Mesa-dev] [android-x86-devel] [PATCH 4/5] android: fix building with new glsl, nir, compiler libraries

2016-02-07 Thread Mauro Rossi
Hi, Just to close this thread, I've checked on both marshamallow-x86 and kitkat-x86 builds and the line $(MESA_TOP)/src/glsl which is now a non-existent path, is not needed anymore and can be removed in LOCAL_C_INCLUDES for all the following android makefiles: ./src/mesa/Android.libmesa_glsl_ut

[Mesa-dev] [PATCH] android: fix glcpp building error

2016-04-19 Thread Mauro Rossi
LOCAL_C_INCLUDES needs an additional path to fix the following build error: external/mesa/src/compiler/glsl/glcpp/glcpp-lex.l:30:25: fatal error: glcpp-parse.h: No such file or directory #include "glcpp-parse.h" ^ compilation terminated. build/core/binary.mk:821: recipe

Re: [Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-14 Thread Mauro Rossi
Hi, thanks, now they should be ok The macro name was changed to __STRCHRNUL_H Tested by building marshmallow-x86 M. >From c1fd979ee7b3e74c4d097b7b1941ebbe65f8d003 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 14 Feb 2016 15:34:16 +0100 Subject: [PATCH 1/2] android: add support

Re: [Mesa-dev] [PATCH 2/5] android: radeonsi: fix building error in si_shader.c

2016-02-21 Thread Mauro Rossi
Hi Micheal, no problem, I'm learning so much and you and Emil have both shown amounts of patience with me. I've tested the following patch and it works Mauro >From a00b1182fd74ec6af37e09e53dd3febec36af27d Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 21 Feb 2016 2

[Mesa-dev] [PATCH 1/3] android: define MESA_EGL_NO_X11_HEADERS

2016-05-30 Thread Mauro Rossi
In order to avoid building errors due to missing X11 headers Cc: --- Android.common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.common.mk b/Android.common.mk index cdba85f..5df9b7e 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -56,6 +56,7 @@ LOCAL_CFLAGS += \

[Mesa-dev] [PATCH 2/3] android: libmesa_glsl: add a dependency on libmesa_nir static

2016-05-30 Thread Mauro Rossi
Fixes the following building error: target C++: libmesa_glsl <= external/mesa/src/compiler/glsl/glsl_to_nir.cpp In file included from external/mesa/src/compiler/glsl/glsl_to_nir.h:28:0, from external/mesa/src/compiler/glsl/glsl_to_nir.cpp:28: external/mesa/src/compiler/nir/nir.h:

[Mesa-dev] [PATCH 3/3] isl: add support for Android libmesa_isl static library

2016-05-30 Thread Mauro Rossi
index 000..e0137d5 --- /dev/null +++ b/src/intel/genxml/Android.mk @@ -0,0 +1,82 @@ +# Copyright © 2016 Intel Corporation +# Copyright © 2016 Mauro Rossi +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files

[Mesa-dev] [PATCH 1/2] android: fix building error in st_glsl_to_tgsi

2016-05-30 Thread Mauro Rossi
Fixes the following building error: bionic/libc/include/string.h:105:33: error: call to '__memcpy_dest_size_error' declared with attribute error: memcpy called with size bigger than destination Cc: --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[Mesa-dev] Set of 2 patches to fix building errors with kitkat-x86

2016-05-30 Thread Mauro Rossi
Hello there, the following two patches are proposed to avoid building errors on kitkat-x86 in order to enhance compatibility. Please consider that these patches are applicable to both mesa-dev and mesa-stable, please pardon me if I may have just caused double posting on mesa-stable. [PATCH 1/2]

[Mesa-dev] [PATCH 2/2] egl: use CLOCK_MONOTONIC only when available

2016-05-30 Thread Mauro Rossi
Fixes the following building error: external/mesa/src/egl/drivers/dri2/egl_dri2.c:2476: error: undefined reference to 'pthread_condattr_setclock' collect2: error: ld returned 1 exit status Cc: --- src/egl/drivers/dri2/egl_dri2.c | 16 1 file changed, 16 insertions(+) diff --g

Re: [Mesa-dev] [android-x86-devel] [PATCH 1/2] android: fix building error in st_glsl_to_tgsi

2016-05-31 Thread Mauro Rossi
2016-05-31 16:47 GMT+02:00 Rob Herring : > On Mon, May 30, 2016 at 7:00 PM, Mauro Rossi > wrote: > > Fixes the following building error: > > > > bionic/libc/include/string.h:105:33: error: call to > '__memcpy_dest_size_error' > > declared with attribute

Re: [Mesa-dev] [android-x86-devel] [PATCH 3/3] isl: add support for Android libmesa_isl static library

2016-05-31 Thread Mauro Rossi
2016-05-31 16:33 GMT+02:00 Emil Velikov : > Hi Mauro, > > A couple of questions, nothing serious imho. > > On 30 May 2016 at 23:20, Mauro Rossi wrote: > > isl library is needed to build i965, libmesa_isl static library is added > > to fix related Android building err

Re: [Mesa-dev] [android-x86-devel] [PATCH 3/3] isl: add support for Android libmesa_isl static library

2016-05-31 Thread Mauro Rossi
2016-06-01 2:22 GMT+02:00 Mauro Rossi : > > > 2016-05-31 16:33 GMT+02:00 Emil Velikov : > >> Hi Mauro, >> >> A couple of questions, nothing serious imho. >> >> On 30 May 2016 at 23:20, Mauro Rossi wrote: >> > isl library is needed to build i9

Re: [Mesa-dev] [android-x86-devel] [PATCH 3/3] isl: add support for Android libmesa_isl static library

2016-06-01 Thread Mauro Rossi
headers, > >> now the .py scripts just require python2, so this MESA_PYTHON3 > definition > >> is not needed anymore. > >> > >>> > >>> > new file mode 100644 > >>> > index 000..e0137d5 > >>> > --

[Mesa-dev] isl support for Android (final version)

2016-06-02 Thread Mauro Rossi
As agreed with Emil, I'm sending a respin of isl for Android, without python3 macro definition in main Android.mk, since not needed anymore, and with a few optimizations in makefiles. In order to backport to mesa-stable the patches, which is recommended, the patches that remove python3 features fr

[Mesa-dev] [PATCH 1/2] isl: remove unneeded isl_format_layout.c in Makefile.sources

2016-06-02 Thread Mauro Rossi
Source files should be defined only once in Makefile.source As a side note isl_surface.c is not an unneeded duplicate and must stay defined in ISL_GEN{7,75,8,9}_FILES --- src/intel/isl/Makefile.sources | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/isl/Makefile.sources b/src/intel/is

[Mesa-dev] [PATCH 2/2] isl: add support for Android libmesa_isl static library

2016-06-02 Thread Mauro Rossi
Corporation +# Copyright © 2016 Mauro Rossi +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rig

Re: [Mesa-dev] [PATCH] fixup! genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE

2016-06-13 Thread Mauro Rossi
nd it should be ok, but please review them. KR Mauro From 92d78d17e3b99cf7a94e3942788be347bd7dffe6 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Mon, 13 Jun 2016 23:50:05 +0200 Subject: [PATCH 1/2] android: genxml: optimize autogenerated headers rules Simplifications in the rules that generat

Re: [Mesa-dev] [PATCH] fixup! genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE

2016-06-13 Thread Mauro Rossi
> Jason, feel free to pick whichever patch you like - the annoyingly > verbose from me or the shorter (en route to victory) from Mauro. > > -Emil Hi, just one final warning my condensed PATCH 1/2 works, but I just noticed now that it produces the following Warnings including ./external/mesa/Andro

  1   2   3   4   >