diff options
Diffstat (limited to 'src/gallium/drivers')
32 files changed, 0 insertions, 1247 deletions
diff --git a/src/gallium/drivers/etnaviv/Automake.inc b/src/gallium/drivers/etnaviv/Automake.inc deleted file mode 100644 index f9b39567e36..00000000000 --- a/src/gallium/drivers/etnaviv/Automake.inc +++ /dev/null @@ -1,11 +0,0 @@ -if HAVE_GALLIUM_ETNAVIV - -TARGET_DRIVERS += etnaviv -TARGET_CPPFLAGS += -DGALLIUM_ETNAVIV -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/etnaviv/drm/libetnavivdrm.la \ - $(top_builddir)/src/gallium/drivers/etnaviv/libetnaviv.la \ - $(ETNAVIV_LIBS) \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/etnaviv/Makefile.am b/src/gallium/drivers/etnaviv/Makefile.am deleted file mode 100644 index 81ef3c9f370..00000000000 --- a/src/gallium/drivers/etnaviv/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright © 2013 W.J. van der Laan -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -noinst_LTLIBRARIES = libetnaviv.la - -AM_CPPFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(ETNAVIV_CFLAGS) - -libetnaviv_la_SOURCES = $(C_SOURCES) - -noinst_PROGRAMS = etnaviv_compiler - -etnaviv_compiler_SOURCES = \ - etnaviv_compiler_cmdline.c - -etnaviv_compiler_LDADD = \ - libetnaviv.la \ - $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(GALLIUM_COMMON_LIB_DEPS) \ - $(ETNAVIV_LIBS) - -EXTRA_DIST = meson.build diff --git a/src/gallium/drivers/freedreno/Automake.inc b/src/gallium/drivers/freedreno/Automake.inc deleted file mode 100644 index 936c286f4c9..00000000000 --- a/src/gallium/drivers/freedreno/Automake.inc +++ /dev/null @@ -1,13 +0,0 @@ -if HAVE_GALLIUM_FREEDRENO - -TARGET_DRIVERS += msm kgsl -TARGET_CPPFLAGS += -DGALLIUM_FREEDRENO -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ - $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ - $(top_builddir)/src/freedreno/libfreedreno_drm.la \ - $(top_builddir)/src/freedreno/libfreedreno_ir3.la \ - $(FREEDRENO_LIBS) \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am deleted file mode 100644 index c002378dfb1..00000000000 --- a/src/gallium/drivers/freedreno/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - -Wno-packed-bitfield-compat \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \ - -I$(top_srcdir)/src/freedreno \ - -I$(top_srcdir)/src/freedreno/registers \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/src/compiler/nir \ - $(LIBDRM_CFLAGS) \ - $(GALLIUM_DRIVER_CFLAGS) - -noinst_LTLIBRARIES = libfreedreno.la - -libfreedreno_la_SOURCES = \ - $(C_SOURCES) \ - $(a2xx_SOURCES) \ - $(a3xx_SOURCES) \ - $(a4xx_SOURCES) \ - $(a5xx_SOURCES) \ - $(a6xx_SOURCES) \ - $(ir3_SOURCES) - -EXTRA_DIST = \ - ir3/ir3_cmdline.c \ - meson.build diff --git a/src/gallium/drivers/i915/Automake.inc b/src/gallium/drivers/i915/Automake.inc deleted file mode 100644 index 73ef8101d1c..00000000000 --- a/src/gallium/drivers/i915/Automake.inc +++ /dev/null @@ -1,11 +0,0 @@ -if HAVE_GALLIUM_I915 - -TARGET_DRIVERS += i915 -TARGET_CPPFLAGS += -DGALLIUM_I915 -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \ - $(top_builddir)/src/gallium/drivers/i915/libi915.la \ - $(I915_LIBS) \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/i915/Makefile.am b/src/gallium/drivers/i915/Makefile.am deleted file mode 100644 index 261f292fd21..00000000000 --- a/src/gallium/drivers/i915/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) - -noinst_LTLIBRARIES = libi915.la - -libi915_la_SOURCES = $(C_SOURCES) - -EXTRA_DIST = TODO meson.build diff --git a/src/gallium/drivers/kmsro/Automake.inc b/src/gallium/drivers/kmsro/Automake.inc deleted file mode 100644 index 61989f425ac..00000000000 --- a/src/gallium/drivers/kmsro/Automake.inc +++ /dev/null @@ -1,16 +0,0 @@ -if HAVE_GALLIUM_KMSRO - -TARGET_DRIVERS += hx8357d -TARGET_DRIVERS += ili9225 -TARGET_DRIVERS += ili9341 -TARGET_DRIVERS += mi0283qt -TARGET_DRIVERS += pl111 -TARGET_DRIVERS += repaper -TARGET_DRIVERS += st7586 -TARGET_DRIVERS += st7735r -TARGET_CPPFLAGS += -DGALLIUM_KMSRO -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/kmsro/Makefile.am b/src/gallium/drivers/kmsro/Makefile.am deleted file mode 100644 index 5bfaccaa1e5..00000000000 --- a/src/gallium/drivers/kmsro/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) - -noinst_LTLIBRARIES = libkmsro.la - -libkmsro_la_SOURCES = $(C_SOURCES) diff --git a/src/gallium/drivers/llvmpipe/Automake.inc b/src/gallium/drivers/llvmpipe/Automake.inc deleted file mode 100644 index 0a0aa34e74a..00000000000 --- a/src/gallium/drivers/llvmpipe/Automake.inc +++ /dev/null @@ -1,7 +0,0 @@ -if HAVE_GALLIUM_LLVMPIPE - -TARGET_CPPFLAGS += -DGALLIUM_LLVMPIPE -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la - -endif diff --git a/src/gallium/drivers/llvmpipe/Makefile.am b/src/gallium/drivers/llvmpipe/Makefile.am deleted file mode 100644 index d649fa44b95..00000000000 --- a/src/gallium/drivers/llvmpipe/Makefile.am +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(LLVM_CFLAGS) \ - $(MSVC2013_COMPAT_CFLAGS) -AM_CXXFLAGS= \ - $(GALLIUM_DRIVER_CXXFLAGS) \ - $(LLVM_CXXFLAGS) \ - $(MSVC2013_COMPAT_CXXFLAGS) - -noinst_LTLIBRARIES = libllvmpipe.la - -libllvmpipe_la_SOURCES = $(C_SOURCES) - -libllvmpipe_la_LDFLAGS = $(LLVM_LDFLAGS) - -noinst_HEADERS = lp_test.h - -check_PROGRAMS = \ - lp_test_format \ - lp_test_arit \ - lp_test_blend \ - lp_test_conv \ - lp_test_printf -TESTS = $(check_PROGRAMS) - -TEST_LIBS = \ - libllvmpipe.la \ - $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(LLVM_LIBS) \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ - $(CLOCK_LIB) - -lp_test_format_SOURCES = lp_test_format.c lp_test_main.c -lp_test_format_LDADD = $(TEST_LIBS) -nodist_EXTRA_lp_test_format_SOURCES = dummy.cpp - -lp_test_arit_SOURCES = lp_test_arit.c lp_test_main.c -lp_test_arit_LDADD = $(TEST_LIBS) -nodist_EXTRA_lp_test_arit_SOURCES = dummy.cpp - -lp_test_blend_SOURCES = lp_test_blend.c lp_test_main.c -lp_test_blend_LDADD = $(TEST_LIBS) -nodist_EXTRA_lp_test_blend_SOURCES = dummy.cpp - -lp_test_conv_SOURCES = lp_test_conv.c lp_test_main.c -lp_test_conv_LDADD = $(TEST_LIBS) -nodist_EXTRA_lp_test_conv_SOURCES = dummy.cpp - -lp_test_printf_SOURCES = lp_test_printf.c lp_test_main.c -lp_test_printf_LDADD = $(TEST_LIBS) -nodist_EXTRA_lp_test_printf_SOURCES = dummy.cpp - -EXTRA_DIST = SConscript meson.build diff --git a/src/gallium/drivers/nouveau/Automake.inc b/src/gallium/drivers/nouveau/Automake.inc deleted file mode 100644 index 657790494dc..00000000000 --- a/src/gallium/drivers/nouveau/Automake.inc +++ /dev/null @@ -1,14 +0,0 @@ -if HAVE_GALLIUM_NOUVEAU - -TARGET_DRIVERS += nouveau -TARGET_CPPFLAGS += -DGALLIUM_NOUVEAU -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \ - $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \ - $(NOUVEAU_LIBS) \ - $(LIBDRM_LIBS) - -TARGET_COMPILER_LIB_DEPS = \ - $(top_builddir)/src/compiler/nir/libnir.la - -endif diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am deleted file mode 100644 index ee7191675cc..00000000000 --- a/src/gallium/drivers/nouveau/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CPPFLAGS = \ - -I$(top_srcdir)/include \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/src/compiler/nir \ - -I$(top_srcdir)/src/mapi \ - -I$(top_srcdir)/src/mesa \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(LIBDRM_CFLAGS) \ - $(NOUVEAU_CFLAGS) - -noinst_LTLIBRARIES = libnouveau.la - -libnouveau_la_SOURCES = \ - $(C_SOURCES) \ - $(NV30_C_SOURCES) \ - $(NV50_CODEGEN_SOURCES) \ - $(NV50_C_SOURCES) \ - $(NVC0_CODEGEN_SOURCES) \ - $(NVC0_C_SOURCES) - -noinst_PROGRAMS = nouveau_compiler - -nodist_EXTRA_nouveau_compiler_SOURCES = dummy.cpp -nouveau_compiler_SOURCES = \ - nouveau_compiler.c - -nouveau_compiler_LDADD = \ - libnouveau.la \ - $(top_builddir)/src/compiler/nir/libnir.la \ - $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(GALLIUM_COMMON_LIB_DEPS) - -EXTRA_DIST = codegen/lib nvc0/mme meson.build diff --git a/src/gallium/drivers/r300/Automake.inc b/src/gallium/drivers/r300/Automake.inc deleted file mode 100644 index d4ddc401bb3..00000000000 --- a/src/gallium/drivers/r300/Automake.inc +++ /dev/null @@ -1,13 +0,0 @@ -if HAVE_GALLIUM_R300 - -TARGET_DRIVERS += r300 -TARGET_CPPFLAGS += -DGALLIUM_R300 -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/r300/libr300.la \ - $(RADEON_LIBS) \ - $(LIBDRM_LIBS) - -TARGET_RADEON_WINSYS = \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la - -endif diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am deleted file mode 100644 index 26c75be3271..00000000000 --- a/src/gallium/drivers/r300/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/mesa/program \ - -I$(top_srcdir)/src/mesa \ - -I$(top_srcdir)/src/glsl \ - -I$(top_srcdir)/src/mapi \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(LLVM_CFLAGS) \ - $(RADEON_CFLAGS) - -noinst_LTLIBRARIES = libr300.la -check_PROGRAMS = r300_compiler_tests -TESTS = r300_compiler_tests - -r300_compiler_tests_LDADD = libr300.la \ - $(top_builddir)/src/gallium/auxiliary/libgallium.la \ - $(top_builddir)/src/util/libmesautil.la \ - $(GALLIUM_COMMON_LIB_DEPS) -r300_compiler_tests_CPPFLAGS = \ - -DTEST_PATH=\"$(top_srcdir)/src/gallium/drivers/r300/compiler/tests\" \ - -I$(top_srcdir)/src/gallium/drivers/r300/compiler -r300_compiler_tests_SOURCES = $(COMPILER_TESTS_SOURCES) - -libr300_la_SOURCES = $(C_SOURCES) - -EXTRA_DIST = \ - compiler/tests/omod_two_writers.test \ - compiler/tests/regalloc_tex_1d_swizzle.test \ - meson.build diff --git a/src/gallium/drivers/r600/Automake.inc b/src/gallium/drivers/r600/Automake.inc deleted file mode 100644 index 727b1174d3f..00000000000 --- a/src/gallium/drivers/r600/Automake.inc +++ /dev/null @@ -1,14 +0,0 @@ -if HAVE_GALLIUM_R600 - -TARGET_DRIVERS += r600 -TARGET_CPPFLAGS += -DGALLIUM_R600 -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/r600/libr600.la \ - $(RADEON_LIBS) \ - $(LIBDRM_LIBS) \ - $(LIBELF_LIBS) - -TARGET_RADEON_WINSYS = \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la - -endif diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am deleted file mode 100644 index c5b41cce26e..00000000000 --- a/src/gallium/drivers/r600/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -egd_tables.h: $(srcdir)/egd_tables.py $(srcdir)/evergreend.h - $(AM_V_at)$(MKDIR_P) $(@D) - $(AM_V_GEN) $(PYTHON) $(srcdir)/egd_tables.py $(srcdir)/evergreend.h > $@ - -BUILT_SOURCES = $(R600_GENERATED_FILES) -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(RADEON_CFLAGS) \ - $(LIBELF_CFLAGS) \ - -I$(top_srcdir)/src/amd/common -Wstrict-overflow=0 - -AM_CXXFLAGS = \ - $(GALLIUM_DRIVER_CXXFLAGS) \ - $(RADEON_CFLAGS) \ - $(LIBELF_CFLAGS) \ - -I$(top_srcdir)/src/amd/common - -noinst_LTLIBRARIES = libr600.la - -libr600_la_SOURCES = \ - $(C_SOURCES) \ - $(CXX_SOURCES) - -if HAVE_GALLIUM_LLVM - -AM_CFLAGS += \ - $(LLVM_CFLAGS) - -endif - -if HAVE_GALLIUM_COMPUTE -AM_CFLAGS += \ - -DHAVE_OPENCL -endif - -CLEANFILES = \ - egd_tables.h - -EXTRA_DIST = \ - egd_tables.py \ - sb/notes.markdown \ - sb/sb_bc_fmt_def.inc \ - meson.build diff --git a/src/gallium/drivers/radeonsi/Automake.inc b/src/gallium/drivers/radeonsi/Automake.inc deleted file mode 100644 index 740648d798b..00000000000 --- a/src/gallium/drivers/radeonsi/Automake.inc +++ /dev/null @@ -1,21 +0,0 @@ -if HAVE_GALLIUM_RADEONSI - -TARGET_DRIVERS += radeonsi -TARGET_CPPFLAGS += -DGALLIUM_RADEONSI -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ - $(RADEON_LIBS) \ - $(LIBDRM_LIBS) \ - $(AMDGPU_LIBS) - -TARGET_COMPILER_LIB_DEPS = \ - $(top_builddir)/src/compiler/nir/libnir.la - -TARGET_RADEON_WINSYS = \ - $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ - $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la - -TARGET_RADEON_COMMON = \ - $(top_builddir)/src/amd/common/libamd_common.la - -endif diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am deleted file mode 100644 index 317ae7ea19f..00000000000 --- a/src/gallium/drivers/radeonsi/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - -I$(top_builddir)/src/amd/common \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/src/amd/common \ - $(RADEON_CFLAGS) \ - $(LLVM_CFLAGS) \ - -Wstrict-overflow=0 -# ^^ disable warnings about overflows (os_time_timeout) - -noinst_LTLIBRARIES = libradeonsi.la - -libradeonsi_la_SOURCES = $(C_SOURCES) - -libradeonsi_la_LIBADD = \ - $(CLOCK_LIB) \ - $(LLVM_LIBS) - -libradeonsi_la_LDFLAGS = \ - $(LLVM_LDFLAGS) - -GEN_DRIINFO_INPUTS = \ - $(top_srcdir)/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h \ - $(srcdir)/driinfo_radeonsi.h - -PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) -MERGE_DRIINFO = $(top_srcdir)/src/util/merge_driinfo.py - -si_driinfo.h: $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS) - $(PYTHON_GEN) $(MERGE_DRIINFO) $(GEN_DRIINFO_INPUTS) > $@ || ($(RM) $@; false) - -BUILT_SOURCES = $(GENERATED_SOURCES) -CLEANFILES = $(GENERATED_SOURCES) -EXTRA_DIST = meson.build diff --git a/src/gallium/drivers/softpipe/Automake.inc b/src/gallium/drivers/softpipe/Automake.inc deleted file mode 100644 index bd3c2eead16..00000000000 --- a/src/gallium/drivers/softpipe/Automake.inc +++ /dev/null @@ -1,12 +0,0 @@ -if HAVE_GALLIUM_SOFTPIPE - -TARGET_DRIVERS += swrast -TARGET_CPPFLAGS += -DGALLIUM_SOFTPIPE -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la - -if HAVE_DRISW_KMS -TARGET_DRIVERS += kms_swrast - -endif -endif diff --git a/src/gallium/drivers/softpipe/Makefile.am b/src/gallium/drivers/softpipe/Makefile.am deleted file mode 100644 index c8c2615a970..00000000000 --- a/src/gallium/drivers/softpipe/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(MSVC2013_COMPAT_CFLAGS) - -noinst_LTLIBRARIES = libsoftpipe.la - -libsoftpipe_la_SOURCES = $(C_SOURCES) - -EXTRA_DIST = SConscript meson.build diff --git a/src/gallium/drivers/svga/Automake.inc b/src/gallium/drivers/svga/Automake.inc deleted file mode 100644 index d2d1d8f1842..00000000000 --- a/src/gallium/drivers/svga/Automake.inc +++ /dev/null @@ -1,10 +0,0 @@ -if HAVE_GALLIUM_SVGA - -TARGET_DRIVERS += vmwgfx -TARGET_CPPFLAGS += -DGALLIUM_VMWGFX -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \ - $(top_builddir)/src/gallium/drivers/svga/libsvga.la \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am deleted file mode 100644 index a457df03c8c..00000000000 --- a/src/gallium/drivers/svga/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright © 2012 Intel Corporation -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CPPFLAGS = \ - -I$(top_builddir)/src - -AM_CFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(MSVC2013_COMPAT_CFLAGS) - -noinst_HEADERS = $(SVGA_H_FILES) -noinst_LTLIBRARIES = libsvga.la - -libsvga_la_SOURCES = $(C_SOURCES) - -EXTRA_DIST = SConscript \ - include/README \ - svgadump/svga_dump.py \ - meson.build diff --git a/src/gallium/drivers/swr/Automake.inc b/src/gallium/drivers/swr/Automake.inc deleted file mode 100644 index a51921455a9..00000000000 --- a/src/gallium/drivers/swr/Automake.inc +++ /dev/null @@ -1,8 +0,0 @@ -if HAVE_GALLIUM_SWR - -TARGET_DRIVERS += swrast -TARGET_CPPFLAGS += -DGALLIUM_SWR -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/swr/libmesaswr.la - -endif diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am deleted file mode 100644 index 3390ef6b096..00000000000 --- a/src/gallium/drivers/swr/Makefile.am +++ /dev/null @@ -1,408 +0,0 @@ -# Copyright (C) 2015 Intel Corporation. All Rights Reserved. -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CXXFLAGS = $(GALLIUM_DRIVER_CFLAGS) $(CXX11_CXXFLAGS) - -noinst_LTLIBRARIES = libmesaswr.la - -libmesaswr_la_SOURCES = \ - $(CXX_SOURCES) \ - $(JITTER_CXX_SOURCES) \ - $(LOADER_SOURCES) - -COMMON_CXXFLAGS = \ - -fno-strict-aliasing \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(LLVM_CXXFLAGS) \ - $(CXX11_CXXFLAGS) \ - -I$(builddir)/rasterizer/codegen \ - -I$(builddir)/rasterizer/core \ - -I$(builddir)/rasterizer/jitter \ - -I$(builddir)/rasterizer/archrast \ - -I$(srcdir)/rasterizer \ - -I$(srcdir)/rasterizer/core \ - -I$(srcdir)/rasterizer/codegen \ - -I$(srcdir)/rasterizer/jitter \ - -I$(srcdir)/rasterizer/archrast - -# SWR_AVX_CXXFLAGS needed for intrinsic usage in swr api headers -libmesaswr_la_CXXFLAGS = \ - $(SWR_AVX_CXXFLAGS) \ - $(COMMON_CXXFLAGS) - -if HAVE_SWR_AVX -libmesaswr_la_CXXFLAGS += -DHAVE_SWR_AVX -endif - -if HAVE_SWR_AVX2 -libmesaswr_la_CXXFLAGS += -DHAVE_SWR_AVX2 -endif - -if HAVE_SWR_KNL -libmesaswr_la_CXXFLAGS += -DHAVE_SWR_KNL -endif - -if HAVE_SWR_SKX -libmesaswr_la_CXXFLAGS += -DHAVE_SWR_SKX -endif - -COMMON_SOURCES = \ - $(ARCHRAST_CXX_SOURCES) \ - $(COMMON_CXX_SOURCES) \ - $(CORE_CXX_SOURCES) \ - $(MEMORY_CXX_SOURCES) \ - $(BUILT_SOURCES) - -BUILT_SOURCES = \ - gen_swr_context_llvm.h \ - rasterizer/codegen/gen_knobs.cpp \ - rasterizer/codegen/gen_knobs.h \ - rasterizer/jitter/gen_state_llvm.h \ - rasterizer/jitter/gen_builder.hpp \ - rasterizer/jitter/gen_builder_meta.hpp \ - rasterizer/jitter/gen_builder_intrin.hpp \ - rasterizer/archrast/gen_ar_event.hpp \ - rasterizer/archrast/gen_ar_event.cpp \ - rasterizer/archrast/gen_ar_eventhandler.hpp \ - rasterizer/archrast/gen_ar_eventhandlerfile.hpp \ - rasterizer/core/backends/gen_BackendPixelRate0.cpp \ - rasterizer/core/backends/gen_BackendPixelRate1.cpp \ - rasterizer/core/backends/gen_BackendPixelRate2.cpp \ - rasterizer/core/backends/gen_BackendPixelRate3.cpp \ - rasterizer/core/backends/gen_BackendPixelRate.hpp \ - rasterizer/core/backends/gen_rasterizer0.cpp \ - rasterizer/core/backends/gen_rasterizer1.cpp \ - rasterizer/core/backends/gen_rasterizer2.cpp \ - rasterizer/core/backends/gen_rasterizer3.cpp \ - rasterizer/core/backends/gen_rasterizer.hpp - -MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D) -PYTHON_GEN = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) -gen_swr_context_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp swr_context.h - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_llvm_types.py \ - --input $(srcdir)/swr_context.h \ - --output ./gen_swr_context_llvm.h - $(AM_V_GEN)touch $@ - -rasterizer/codegen/gen_knobs.cpp: rasterizer/codegen/gen_knobs.py rasterizer/codegen/knob_defs.py rasterizer/codegen/templates/gen_knobs.cpp rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_knobs.py \ - --output rasterizer/codegen/gen_knobs.cpp \ - --gen_cpp - $(AM_V_GEN)touch $@ - -rasterizer/codegen/gen_knobs.h: rasterizer/codegen/gen_knobs.py rasterizer/codegen/knob_defs.py rasterizer/codegen/templates/gen_knobs.h rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_knobs.py \ - --output rasterizer/codegen/gen_knobs.h \ - --gen_h - $(AM_V_GEN)touch $@ - -rasterizer/jitter/gen_state_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp rasterizer/core/state.h rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_llvm_types.py \ - --input $(srcdir)/rasterizer/core/state.h \ - --output rasterizer/jitter/gen_state_llvm.h - $(AM_V_GEN)touch $@ - -rasterizer/jitter/gen_builder.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \ - --input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \ - --output rasterizer/jitter \ - --gen_h - $(AM_V_GEN)touch $@ - -rasterizer/jitter/gen_builder_meta.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \ - --output rasterizer/jitter \ - --gen_meta_h - $(AM_V_GEN)touch $@ - -rasterizer/jitter/gen_builder_intrin.hpp: rasterizer/codegen/gen_llvm_ir_macros.py rasterizer/codegen/templates/gen_builder.hpp rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_llvm_ir_macros.py \ - --output rasterizer/jitter \ - --gen_intrin_h - $(AM_V_GEN)touch $@ - -rasterizer/archrast/gen_ar_event.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_event.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_archrast.py \ - --proto $(srcdir)/rasterizer/archrast/events.proto \ - --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \ - --output rasterizer/archrast/gen_ar_event.hpp \ - --gen_event_hpp - $(AM_V_GEN)touch $@ - -rasterizer/archrast/gen_ar_event.cpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_event.cpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_archrast.py \ - --proto $(srcdir)/rasterizer/archrast/events.proto \ - --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \ - --output rasterizer/archrast/gen_ar_event.cpp \ - --gen_event_cpp - $(AM_V_GEN)touch $@ - -rasterizer/archrast/gen_ar_eventhandler.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_eventhandler.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_archrast.py \ - --proto $(srcdir)/rasterizer/archrast/events.proto \ - --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \ - --output rasterizer/archrast/gen_ar_eventhandler.hpp \ - --gen_eventhandler_hpp - $(AM_V_GEN)touch $@ - -rasterizer/archrast/gen_ar_eventhandlerfile.hpp: rasterizer/codegen/gen_archrast.py rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp rasterizer/archrast/events.proto rasterizer/archrast/events_private.proto rasterizer/codegen/gen_common.py - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_archrast.py \ - --proto $(srcdir)/rasterizer/archrast/events.proto \ - --proto_private $(srcdir)/rasterizer/archrast/events_private.proto \ - --output rasterizer/archrast/gen_ar_eventhandlerfile.hpp \ - --gen_eventhandlerfile_hpp - $(AM_V_GEN)touch $@ - -rasterizer/core/backends/gen_BackendPixelRate0.cpp \ -rasterizer/core/backends/gen_BackendPixelRate1.cpp \ -rasterizer/core/backends/gen_BackendPixelRate2.cpp \ -rasterizer/core/backends/gen_BackendPixelRate3.cpp \ -rasterizer/core/backends/gen_BackendPixelRate.hpp: \ -backend.intermediate - -# 5 SWR_MULTISAMPLE_TYPE_COUNT -# 2 SWR_MSAA_SAMPLE_PATTERN_COUNT -# 3 SWR_INPUT_COVERAGE_COUNT -# 2 centroid -# 2 forcedSampleCount -# 2 canEarlyZ - -# use intermediate rule to tell make that all files can be -# generated in one invocation of gen_backends.py (prevents -# parallel make race condition) -.INTERMEDIATE: backend.intermediate -backend.intermediate: rasterizer/codegen/gen_backends.py rasterizer/codegen/templates/gen_backend.cpp rasterizer/codegen/templates/gen_header_init.hpp - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_backends.py \ - --outdir rasterizer/core/backends \ - --dim 5 2 3 2 2 2 \ - --numfiles 4 \ - --cpp \ - --hpp - -rasterizer/core/backends/gen_rasterizer0.cpp \ -rasterizer/core/backends/gen_rasterizer1.cpp \ -rasterizer/core/backends/gen_rasterizer2.cpp \ -rasterizer/core/backends/gen_rasterizer3.cpp \ -rasterizer/core/backends/gen_rasterizer.hpp: \ -rasterizer.intermediate - -# 5 SWR_MULTISAMPLE_TYPE_COUNT -# 2 CenterPattern -# 2 Conservative -# 3 SWR_INPUT_COVERAGE_COUNT -# 5 STATE_VALID_TRI_EDGE_COUNT -# 2 RasterScissorEdges - -# use intermediate rule to tell make that all files can be -# generated in one invocation of gen_backends.py (prevents -# parallel make race condition) -.INTERMEDIATE: rasterizer.intermediate -rasterizer.intermediate: rasterizer/codegen/gen_backends.py rasterizer/codegen/templates/gen_rasterizer.cpp rasterizer/codegen/templates/gen_header_init.hpp - $(MKDIR_GEN) - $(PYTHON_GEN) \ - $(srcdir)/rasterizer/codegen/gen_backends.py \ - --outdir rasterizer/core/backends \ - --rast \ - --dim 5 2 2 3 5 2 \ - --numfiles 4 \ - --cpp \ - --hpp - -COMMON_LDFLAGS = \ - -shared \ - -module \ - -no-undefined \ - $(GC_SECTIONS) \ - $(LD_NO_UNDEFINED) - -lib_LTLIBRARIES = - -if HAVE_SWR_AVX -libswrAVX_la_CXXFLAGS = \ - $(PTHREAD_CFLAGS) \ - $(SWR_AVX_CXXFLAGS) \ - -DKNOB_ARCH=KNOB_ARCH_AVX \ - $(COMMON_CXXFLAGS) - -libswrAVX_la_SOURCES = \ - $(COMMON_SOURCES) - -libswrAVX_la_LIBADD = \ - $(PTHREAD_LIBS) - -libswrAVX_la_LDFLAGS = \ - $(COMMON_LDFLAGS) -endif - -if HAVE_SWR_AVX2 -libswrAVX2_la_CXXFLAGS = \ - $(PTHREAD_CFLAGS) \ - $(SWR_AVX2_CXXFLAGS) \ - -DKNOB_ARCH=KNOB_ARCH_AVX2 \ - $(COMMON_CXXFLAGS) - -libswrAVX2_la_SOURCES = \ - $(COMMON_SOURCES) - -libswrAVX2_la_LIBADD = \ - $(PTHREAD_LIBS) - -libswrAVX2_la_LDFLAGS = \ - $(COMMON_LDFLAGS) -endif - -if HAVE_SWR_KNL -libswrKNL_la_CXXFLAGS = \ - $(PTHREAD_CFLAGS) \ - $(SWR_KNL_CXXFLAGS) \ - -DKNOB_ARCH=KNOB_ARCH_AVX512 -DSIMD_ARCH_KNIGHTS \ - $(COMMON_CXXFLAGS) - -libswrKNL_la_SOURCES = \ - $(COMMON_SOURCES) - -libswrKNL_la_LIBADD = \ - $(PTHREAD_LIBS) - -libswrKNL_la_LDFLAGS = \ - $(COMMON_LDFLAGS) -endif - -if HAVE_SWR_SKX -libswrSKX_la_CXXFLAGS = \ - $(PTHREAD_CFLAGS) \ - $(SWR_SKX_CXXFLAGS) \ - -DKNOB_ARCH=KNOB_ARCH_AVX512 \ - $(COMMON_CXXFLAGS) - -libswrSKX_la_SOURCES = \ - $(COMMON_SOURCES) - -libswrSKX_la_LIBADD = \ - $(PTHREAD_LIBS) - -libswrSKX_la_LDFLAGS = \ - $(COMMON_LDFLAGS) -endif - -if HAVE_SWR_BUILTIN -libmesaswr_la_CXXFLAGS += -DHAVE_SWR_BUILTIN -libmesaswr_la_LIBADD = -if HAVE_SWR_AVX -noinst_LTLIBRARIES += libswrAVX.la -libmesaswr_la_LIBADD += libswrAVX.la -endif -if HAVE_SWR_AVX2 -noinst_LTLIBRARIES += libswrAVX2.la -libmesaswr_la_LIBADD += libswrAVX2.la -endif -if HAVE_SWR_KNL -noinst_LTLIBRARIES += libswrKNL.la -libmesaswr_la_LIBADD += libswrKNL.la -endif -if HAVE_SWR_SKX -noinst_LTLIBRARIES += libswrSKX.la -libmesaswr_la_LIBADD += libswrSKX.la -endif -else # !HAVE_SWR_BUILTIN -# gen_knobs.* included here to provide driver access to swr configuration -libmesaswr_la_SOURCES += \ - $(COMMON_CXX_SOURCES) \ - rasterizer/codegen/gen_knobs.cpp \ - rasterizer/codegen/gen_knobs.h -if HAVE_SWR_AVX -lib_LTLIBRARIES += libswrAVX.la -endif -if HAVE_SWR_AVX2 -lib_LTLIBRARIES += libswrAVX2.la -endif -if HAVE_SWR_KNL -lib_LTLIBRARIES += libswrKNL.la -endif -if HAVE_SWR_SKX -lib_LTLIBRARIES += libswrSKX.la -endif -endif - -include $(top_srcdir)/install-gallium-links.mk - -# Generated gen_builder.hpp is not backwards compatible. So ship only one -# created with the oldest supported version of LLVM. -dist-hook: -if SWR_INVALID_LLVM_VERSION - @echo "*****************************************" - @echo "LLVM 6.0.x required to create the tarball" - @echo "*****************************************" - @test -endif - -EXTRA_DIST = \ - SConscript \ - meson.build \ - rasterizer/jitter/meson.build \ - rasterizer/codegen/meson.build \ - rasterizer/core/backends/meson.build \ - rasterizer/archrast/events.proto \ - rasterizer/archrast/events_private.proto \ - rasterizer/codegen/gen_llvm_ir_macros.py \ - rasterizer/codegen/gen_llvm_types.py \ - rasterizer/codegen/gen_archrast.py \ - rasterizer/codegen/gen_backends.py \ - rasterizer/codegen/gen_common.py \ - rasterizer/codegen/gen_knobs.py \ - rasterizer/codegen/knob_defs.py \ - rasterizer/codegen/templates/gen_ar_event.cpp \ - rasterizer/codegen/templates/gen_ar_event.hpp \ - rasterizer/codegen/templates/gen_ar_eventhandler.hpp \ - rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp \ - rasterizer/codegen/templates/gen_backend.cpp \ - rasterizer/codegen/templates/gen_builder.hpp \ - rasterizer/codegen/templates/gen_header_init.hpp \ - rasterizer/codegen/templates/gen_knobs.cpp \ - rasterizer/codegen/templates/gen_knobs.h \ - rasterizer/codegen/templates/gen_llvm.hpp \ - rasterizer/codegen/templates/gen_rasterizer.cpp diff --git a/src/gallium/drivers/tegra/Automake.inc b/src/gallium/drivers/tegra/Automake.inc deleted file mode 100644 index f6528191624..00000000000 --- a/src/gallium/drivers/tegra/Automake.inc +++ /dev/null @@ -1,11 +0,0 @@ -if HAVE_GALLIUM_TEGRA - -TARGET_DRIVERS += tegra -TARGET_CPPFLAGS += -DGALLIUM_TEGRA -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/tegra/drm/libtegradrm.la \ - $(top_builddir)/src/gallium/drivers/tegra/libtegra.la \ - $(LIBDRM_LIBS) \ - $(TEGRA_LIBS) - -endif diff --git a/src/gallium/drivers/tegra/Makefile.am b/src/gallium/drivers/tegra/Makefile.am deleted file mode 100644 index bcb039b227f..00000000000 --- a/src/gallium/drivers/tegra/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - -I$(top_srcdir)/include \ - $(LIBDRM_CFLAGS) \ - $(GALLIUM_DRIVER_CFLAGS) - -noinst_LTLIBRARIES = libtegra.la - -libtegra_la_SOURCES = \ - $(C_SOURCES) - -EXTRA_DIST = \ - meson.build diff --git a/src/gallium/drivers/v3d/Automake.inc b/src/gallium/drivers/v3d/Automake.inc deleted file mode 100644 index 91ae826b301..00000000000 --- a/src/gallium/drivers/v3d/Automake.inc +++ /dev/null @@ -1,16 +0,0 @@ -if HAVE_GALLIUM_V3D - -TARGET_DRIVERS += v3d -TARGET_CPPFLAGS += -DGALLIUM_V3D -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/v3d/drm/libv3ddrm.la \ - $(top_builddir)/src/gallium/drivers/v3d/libv3d.la \ - $(top_builddir)/src/broadcom/libbroadcom.la \ - $(top_builddir)/src/broadcom/libbroadcom_v33.la \ - $(top_builddir)/src/broadcom/libbroadcom_v41.la - -if !HAVE_GALLIUM_VC4 -TARGET_LIB_DEPS += $(top_builddir)/src/broadcom/cle/libbroadcom_cle.la -endif - -endif diff --git a/src/gallium/drivers/v3d/Makefile.am b/src/gallium/drivers/v3d/Makefile.am deleted file mode 100644 index 5fb536275fd..00000000000 --- a/src/gallium/drivers/v3d/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright © 2014 Broadcom -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CFLAGS = \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/include \ - -I$(top_srcdir)/src/broadcom \ - -I$(top_builddir)/src/broadcom \ - -I$(top_builddir)/src \ - $(LIBDRM_CFLAGS) \ - $(V3D_SIMULATOR_CFLAGS) \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(VALGRIND_CFLAGS) \ - $() - -noinst_LTLIBRARIES = \ - libv3d.la \ - libv3d_v33.la \ - libv3d_v41.la \ - $() - -libv3d_v33_la_SOURCES = $(V3D_PER_VERSION_SOURCES) -libv3d_v33_la_CFLAGS = $(AM_CFLAGS) -DV3D_VERSION=33 - -libv3d_v41_la_SOURCES = $(V3D_PER_VERSION_SOURCES) -libv3d_v41_la_CFLAGS = $(AM_CFLAGS) -DV3D_VERSION=41 - -libv3d_la_SOURCES = $(C_SOURCES) - -libv3d_la_LDFLAGS = \ - $(V3D_SIMULATOR_LIBS) \ - $(NULL) -libv3d_la_LIBADD = \ - libv3d_v33.la \ - libv3d_v41.la \ - $() - -EXTRA_DIST = meson.build diff --git a/src/gallium/drivers/vc4/Automake.inc b/src/gallium/drivers/vc4/Automake.inc deleted file mode 100644 index 650466e495a..00000000000 --- a/src/gallium/drivers/vc4/Automake.inc +++ /dev/null @@ -1,19 +0,0 @@ -if HAVE_GALLIUM_VC4 - -TARGET_DRIVERS += vc4 -TARGET_CPPFLAGS += -DGALLIUM_VC4 - -if !HAVE_GALLIUM_V3D -TARGET_LIB_DEPS += \ - $(top_builddir)/src/broadcom/libbroadcom.la \ - $(top_builddir)/src/broadcom/libbroadcom_v33.la \ - $(top_builddir)/src/broadcom/libbroadcom_v41.la -endif - -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/winsys/vc4/drm/libvc4drm.la \ - $(top_builddir)/src/gallium/drivers/vc4/libvc4.la \ - $(top_builddir)/src/broadcom/cle/libbroadcom_cle.la - - -endif diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am deleted file mode 100644 index 585ff20e6cf..00000000000 --- a/src/gallium/drivers/vc4/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright © 2014 Broadcom -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -if USE_VC4_SIMULATOR -SIM_LDFLAGS = -lsimpenrose -endif - -AM_CFLAGS = \ - -I$(top_builddir)/src/compiler/nir \ - -I$(top_srcdir)/include \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src/broadcom \ - -I$(top_builddir)/src/broadcom \ - $(LIBDRM_CFLAGS) \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(SIM_CFLAGS) \ - $(VALGRIND_CFLAGS) \ - $() - -noinst_LTLIBRARIES = libvc4.la - -libvc4_la_SOURCES = $(C_SOURCES) - -libvc4_la_LIBADD = \ - $(SIM_LIB) \ - $() - -if HAVE_ARM_ASM -noinst_LTLIBRARIES += libvc4_neon.la -libvc4_la_LIBADD += libvc4_neon.la -libvc4_neon_la_SOURCES = $(NEON_C_SOURCES) -libvc4_neon_la_CFLAGS = $(AM_CFLAGS) -mfpu=neon -endif - -libvc4_la_LDFLAGS = $(SIM_LDFLAGS) - -EXTRA_DIST = kernel/README meson.build diff --git a/src/gallium/drivers/virgl/Automake.inc b/src/gallium/drivers/virgl/Automake.inc deleted file mode 100644 index b05d3e314c8..00000000000 --- a/src/gallium/drivers/virgl/Automake.inc +++ /dev/null @@ -1,11 +0,0 @@ -if HAVE_GALLIUM_VIRGL - -TARGET_DRIVERS += virtio_gpu -TARGET_CPPFLAGS += -DGALLIUM_VIRGL -TARGET_LIB_DEPS += \ - $(top_builddir)/src/gallium/drivers/virgl/libvirgl.la \ - $(top_builddir)/src/gallium/winsys/virgl/drm/libvirgldrm.la \ - $(top_builddir)/src/gallium/winsys/virgl/vtest/libvirglvtest.la \ - $(LIBDRM_LIBS) - -endif diff --git a/src/gallium/drivers/virgl/Makefile.am b/src/gallium/drivers/virgl/Makefile.am deleted file mode 100644 index e5e1d9ef6d9..00000000000 --- a/src/gallium/drivers/virgl/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright © 2014, 2015 Red Hat. -# -# 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 rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -# DEALINGS IN THE SOFTWARE. - -include Makefile.sources -include $(top_srcdir)/src/gallium/Automake.inc - -AM_CPPFLAGS = \ - $(GALLIUM_DRIVER_CFLAGS) \ - $(LIBDRM_CFLAGS) - -noinst_LTLIBRARIES = libvirgl.la - -libvirgl_la_SOURCES = $(C_SOURCES) - -EXTRA_DIST = meson.build |