diff options
author | Dylan Baker <[email protected]> | 2018-10-23 11:01:12 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-10-24 09:22:15 -0700 |
commit | c4de8ba036b9f0877077dc72eaf801a830f6341d (patch) | |
tree | 58b55398cf9085e363bab7a611460d76c882d825 | |
parent | 43b0d5fa04cec45ab61b654bfa25f6a1b1af027f (diff) |
autotools: include intel_tiled_memcopy.c
There are two problems with the fixed patch. First, it fails to create a
dependency on the sourced .c file, so changes to intel_tiled_memcpy.c
won't trigger a rebuild. It also doesn't get included in the dist
tarball.
Fixes: 11b1afdc92db98e93f2ca50beeb7fc481a11e708
("i965/tiled_memcpy: inline movntdqa loads in tiled_to_linear")
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Juan A. Suarez <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.am | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.sources | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index dc19da2c4a6..fda17589cfb 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -126,6 +126,7 @@ CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ brw_oa.py \ $(i965_oa_xml_FILES) \ + $(intel_tiled_memcpy_dep_FILES) \ meson.build brw_oa_metrics.c: brw_oa.py $(i965_oa_xml_FILES) @@ -135,3 +136,6 @@ brw_oa_metrics.c: brw_oa.py $(i965_oa_xml_FILES) $(i965_oa_xml_FILES:%=$(srcdir)/%) brw_oa_metrics.h: brw_oa_metrics.c + +intel_tiled_memcpy_normal.c: $(intel_tiled_memcpy_dep_FILES) +intel_tiled_memcpy_sse41.c: $(intel_tiled_memcpy_dep_FILES) diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 0ab0e42fb18..043a70029f2 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -121,6 +121,9 @@ intel_tiled_memcpy_sse41_FILES = \ intel_tiled_memcpy_sse41.c \ intel_tiled_memcpy_sse41.h +intel_tiled_memcpy_dep_FILES = \ + intel_tiled_memcpy.c + i965_gen4_FILES = \ genX_blorp_exec.c \ genX_state_upload.c |