[Mesa-dev] [PATCH 01/10] compiler: Move glsl_to_nir to libglsl.la

Matt Turner mattst88 at gmail.com
Thu May 26 04:01:26 UTC 2016


On Wed, May 25, 2016 at 6:52 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Right now libglsl.la depends on libnir.la so putting it in libnir.la
> adds a dependency on libglsl.la that goes the wrong direction.
> ---
>  src/compiler/Makefile.am                  |    2 +
>  src/compiler/Makefile.nir.am              |    5 -
>  src/compiler/Makefile.sources             |    4 +-
>  src/compiler/glsl/glsl_to_nir.cpp         | 2026 +++++++++++++++++++++++++++++
>  src/compiler/glsl/glsl_to_nir.h           |   42 +
>  src/compiler/nir/glsl_to_nir.cpp          | 2026 -----------------------------
>  src/compiler/nir/glsl_to_nir.h            |   42 -
>  src/mesa/drivers/dri/i965/brw_nir.c       |    2 +-
>  src/mesa/state_tracker/st_glsl_to_nir.cpp |    2 +-
>  9 files changed, 2074 insertions(+), 2077 deletions(-)
>  create mode 100644 src/compiler/glsl/glsl_to_nir.cpp
>  create mode 100644 src/compiler/glsl/glsl_to_nir.h
>  delete mode 100644 src/compiler/nir/glsl_to_nir.cpp
>  delete mode 100644 src/compiler/nir/glsl_to_nir.h
>
> diff --git a/src/compiler/Makefile.am b/src/compiler/Makefile.am
> index dc30f90..710ac5a 100644
> --- a/src/compiler/Makefile.am
> +++ b/src/compiler/Makefile.am
> @@ -31,6 +31,8 @@ AM_CPPFLAGS = \
>         -I$(top_builddir)/src/compiler/glsl\
>         -I$(top_srcdir)/src/compiler/glsl\
>         -I$(top_srcdir)/src/compiler/glsl/glcpp\
> +       -I$(top_builddir)/src/compiler/nir\
> +       -I$(top_srcdir)/src/compiler/nir\

Please put spaces before the \


More information about the mesa-dev mailing list