summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/SConscript')
-rw-r--r--src/gallium/drivers/swr/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript
index cdfb91a5bba..a32807d36bd 100644
--- a/src/gallium/drivers/swr/SConscript
+++ b/src/gallium/drivers/swr/SConscript
@@ -245,6 +245,7 @@ source += [
# main SWR lib
envSWR = envavx.Clone() # pick up the arch flag for intrinsic usage
+envSWR.Append(CPPDEFINES = ['HAVE_SWR_AVX', 'HAVE_SWR_AVX2'])
swr = envSWR.ConvenienceLibrary(
target = 'swr',
source = source,