[Mesa-dev] [PATCH] android: radv/ac: Fix nir.h include

Dave Airlie airlied at gmail.com
Sat Apr 22 19:21:18 UTC 2017


On 22 April 2017 at 20:13, Mauro Rossi <issor.oruam at gmail.com> wrote:
> Fixes following building errors due to missing include paths:
>
> external/mesa/src/amd/common/ac_shader_info.c:23:10: fatal error: 'nir/nir.h' file not found
> #include "nir/nir.h"
>          ^
>
> external/mesa/src/compiler/nir/nir.h:48:10: fatal error: 'nir_opcodes.h' file not found
> #include "nir_opcodes.h"
>          ^
>
> Fixes: 224cf29 "radv/ac: add initial pre-pass for shader info gathering"

Acked-by: Dave Airlie <Airlied at redhat.com>

> ---
>  src/amd/Android.common.mk | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
> index 0e0401b546..fb82e000c3 100644
> --- a/src/amd/Android.common.mk
> +++ b/src/amd/Android.common.mk
> @@ -49,6 +49,8 @@ LOCAL_C_INCLUDES := \
>         $(MESA_TOP)/include \
>         $(MESA_TOP)/src \
>         $(MESA_TOP)/src/amd/common \
> +       $(MESA_TOP)/src/compiler \
> +       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir \
>         $(MESA_TOP)/src/gallium/include \
>         $(MESA_TOP)/src/gallium/auxiliary \
>         $(intermediates)/common \
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list