mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
i965g: Enable llvm in dri driver if built
This commit is contained in:
parent
4830237660
commit
0697d41fce
1 changed files with 8 additions and 3 deletions
|
|
@ -6,10 +6,11 @@ LIBNAME = i965_dri.so
|
|||
PIPE_DRIVERS = \
|
||||
$(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \
|
||||
$(TOP)/src/gallium/winsys/i965/drm/libi965drm.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/winsys/sw/wrapper/libwsw.a \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
||||
$(TOP)/src/gallium/drivers/galahad/libgalahad.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a \
|
||||
$(TOP)/src/gallium/drivers/rbug/librbug.a \
|
||||
$(TOP)/src/gallium/drivers/i965/libi965.a
|
||||
|
||||
C_SOURCES = \
|
||||
|
|
@ -18,7 +19,11 @@ C_SOURCES = \
|
|||
$(DRIVER_SOURCES)
|
||||
|
||||
DRIVER_DEFINES = \
|
||||
-DGALLIUM_SOFTPIPE -DGALLIUM_RBUG -DGALLIUM_TRACE
|
||||
-DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD -DGALLIUM_SOFTPIPE
|
||||
|
||||
ifeq ($(MESA_LLVM),1)
|
||||
DRIVER_DEFINES += -DGALLIUM_LLVMPIPE
|
||||
endif
|
||||
|
||||
include ../Makefile.dri
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue