gallium: Rename macros HAVE_PIPE_LOADER*

Rename macro HAVE_PIPE_LOADER_DRI to HAVE_DRI
Rename macro HAVE_PIPE_LOADER_KMS to HAVE_DRISW_KMS

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17784>
This commit is contained in:
Yonggang Luo
2022-07-28 20:55:20 +08:00
committed by Marge Bot
parent 98fa0c3351
commit 48e72da0dd
7 changed files with 21 additions and 21 deletions

View File

@@ -1690,10 +1690,10 @@ if dep_libdrm.found()
endif
if with_dri
pre_args += '-DHAVE_PIPE_LOADER_DRI'
pre_args += '-DHAVE_DRI'
endif
if with_gallium_drisw_kms
pre_args += '-DHAVE_PIPE_LOADER_KMS'
pre_args += '-DHAVE_DRISW_KMS'
endif
dep_libudev = dependency('libudev', required : false)