gallium: remove DROP_PIPE_LOADER_MISC

not needed since these code paths are always enabled

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7208>
This commit is contained in:
Michel Zou 2021-02-24 06:20:36 +01:00 committed by Marge Bot
parent 951f328723
commit 2944b4b6b4
4 changed files with 1 additions and 10 deletions

View File

@ -31,7 +31,6 @@ include $(CLEAR_VARS)
LOCAL_CFLAGS := \
-DHAVE_PIPE_LOADER_DRI \
-DHAVE_PIPE_LOADER_KMS \
-DDROP_PIPE_LOADER_MISC \
-DGALLIUM_STATIC_TARGETS
LOCAL_SRC_FILES := \

View File

@ -11,7 +11,6 @@ env.Append(CPPPATH = [
env.Append(CPPDEFINES = [
('HAVE_PIPE_LOADER_DRI', '1'),
('DROP_PIPE_LOADER_MISC', '1'),
('GALLIUM_STATIC_TARGETS', '1'),
])

View File

@ -39,9 +39,6 @@ endif
if with_gallium_drisw_kms
libpipe_loader_defines += '-DHAVE_PIPE_LOADER_KMS'
endif
if not (with_gallium_st_nine or with_gallium_opencl)
libpipe_loader_defines += '-DDROP_PIPE_LOADER_MISC'
endif
libpipe_loader_static = static_library(
'pipe_loader_static',

View File

@ -75,11 +75,7 @@ static const struct sw_driver_descriptor driver_descriptors = {
.create_winsys = kms_dri_create_winsys,
},
#endif
/**
* XXX: Do not include these two for non autotools builds.
* They don't have neither opencl nor nine, where these are used.
*/
#ifndef DROP_PIPE_LOADER_MISC
#ifndef __ANDROID__
{
.name = "null",
.create_winsys = null_sw_create,