From: Justin Weiss Date: Thu, 11 Feb 2021 02:17:31 +0000 (-0800) Subject: Restrict threaded rendering to unai / peops X-Git-Tag: r24l~591^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8105c29f3a1a7c3e16a9c278bdf03054b3919043;p=pcsx_rearmed.git Restrict threaded rendering to unai / peops --- diff --git a/Makefile b/Makefile index d751fb12..73bde483 100644 --- a/Makefile +++ b/Makefile @@ -180,6 +180,10 @@ CFLAGS += -DGPU_PEOPS plugins/dfxvideo/gpulib_if.o: CFLAGS += -fno-strict-aliasing plugins/dfxvideo/gpulib_if.o: plugins/dfxvideo/prim.c plugins/dfxvideo/soft.c OBJS += plugins/dfxvideo/gpulib_if.o +ifeq "$(THREAD_RENDERING)" "1" +CFLAGS += -DTHREAD_RENDERING +OBJS += plugins/gpulib/gpulib_thread_if.o +endif endif ifeq "$(BUILTIN_GPU)" "unai" CFLAGS += -DGPU_UNAI @@ -190,13 +194,13 @@ OBJS += plugins/gpu_unai/gpulib_if.o ifeq "$(ARCH)" "arm" OBJS += plugins/gpu_unai/gpu_arm.o endif -plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3 -CC_LINK = $(CXX) -endif ifeq "$(THREAD_RENDERING)" "1" CFLAGS += -DTHREAD_RENDERING OBJS += plugins/gpulib/gpulib_thread_if.o endif +plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3 +CC_LINK = $(CXX) +endif # cdrcimg OBJS += plugins/cdrcimg/cdrcimg.o