summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/Makefile.sources
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-08-16 17:20:38 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-09-07 10:21:26 -0700
commit80825abb5d1a7491035880253ffd531c55acae6b (patch)
tree6e12b637c7c5468c39def882bf3654e5bd256fb0 /src/gallium/auxiliary/Makefile.sources
parentaa4386ebfed6a76badae9e1ecf783a372375f072 (diff)
downloadmesa-80825abb5d1a7491035880253ffd531c55acae6b.tar.gz
move u_math to src/util
Currently we have two sets of functions for bit counts, one in gallium and one in core mesa. The ones in core mesa are header only in many cases, since they reduce to "#define _mesa_bitcount popcount", but they provide a fallback implementation. This is important because 32bit msvc doesn't have popcountll, just popcount; so when nir (for example) includes the core mesa header it doesn't (and shouldn't) link with core mesa. To fix this we'll promote the version out of gallium util, then replace the core mesa uses with the util version, since nir (and other non-core mesa users) can and do link with mesautils. Acked-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r--src/gallium/auxiliary/Makefile.sources2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources
index d66fa85f798..33d58dedf28 100644
--- a/src/gallium/auxiliary/Makefile.sources
+++ b/src/gallium/auxiliary/Makefile.sources
@@ -294,8 +294,6 @@ C_SOURCES := \
util/u_linear.h \
util/u_log.c \
util/u_log.h \
- util/u_math.c \
- util/u_math.h \
util/u_memory.h \
util/u_mm.c \
util/u_mm.h \