summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorJesse Natalie <jenatali@microsoft.com>2022-08-24 14:57:25 -0700
committerMarge Bot <emma+marge@anholt.net>2022-08-25 16:35:34 +0000
commitb2b5308706cc8ea3cd56a2053c9317e079579ff6 (patch)
tree0262b85d5c3365dceee9ab27b8e68e551069268c /meson_options.txt
parentb5f4a5285cc8a76396b02e778e7ee12047f947be (diff)
meson: Add an option to specify the WGL gallium megadriver filename
Specifying the name at build time, as opposed to renaming after the build, serves two purposes: 1. The link from Mesa's OpenGL32.dll and (and EGL/GLES) to the megadriver is done by filename. If using these frontends, the megadriver can't be renamed afterwards. And Windows doesn't have very good symlink support, so that's not really an option either. 2. The symbol (PDB) filename is also embedded in the DLL using the build-time expected filename. Renaming can produce odd artifacts while debugging. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7115 Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18239>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 99c75b8aec1..2a5d9fddf6b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -164,6 +164,12 @@ option(
description : 'build gallium "clover" OpenCL frontend.',
)
option(
+ 'gallium-windows-dll-name',
+ type : 'string',
+ value : 'libgallium_wgl',
+ description : 'name of gallium megadriver DLL built for Windows. defaults to libgallium_wgl.dll to match DRI',
+)
+option(
'opencl-spirv',
type : 'boolean',
value : false,