summaryrefslogtreecommitdiff
path: root/meson_options.txt
AgeCommit message (Collapse)AuthorFilesLines
2022-04-07android: Set max platform-sdk-version to 10000Roman Stratiienko1-1/+1
platform-sdk-version::max require updating every time new Android releases. It makes sense to set this value to some unreachable maximum value to avoid such patches. Such approach will allow to use stable mesa3d without any changes with newest Android as well. As was suggested by Yiwei Zhang we can use value 10000 that corresponds to CUR_DEVELOPMENT [1] definition which may be used by AOSP/master in between of Android major releases. [1]: https://developer.android.com/reference/android/os/Build.VERSION_CODES#CUR_DEVELOPMENT Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15747>
2022-03-25microsoft: Initial vulkan-on-12 driverErik Faye-Lund1-1/+1
This is Dozen, the Vulkan on DirectX 12 driver. Not to be confused with DirectEggs. This is an early prototype, and not meant to be upstreamed as-is. Co-Authored-by: Boris Brezillon <boris.brezillon@collabora.com> Co-Authored-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Co-Authored-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Co-Authored-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766>
2022-03-25freedreno/drm: Add virtio backendRob Clark1-0/+6
Add a new backend to enable using native driver in a VM guest, via a new virtgpu context type which (indirectly) makes host kernel interface available in guest and handles the details of mapping buffers to guest, etc. Note that fence-fd's are currently a bit awkward, in that they get signaled by the guest kernel driver (drm/virtio) once virglrenderer in the host has processed the execbuf, not when host kernel has signaled the submit fence. For passing buffers to the host (virtio-wl) the egl context in virglrenderer is used to create a fence on the host side. But use of out-fence-fd's in guest could have slightly unexpected results. For this reason we limit all submitqueues to default priority (so they cannot be preepmted by host egl context). AFAICT virgl and venus have a similar problem, which will eventually be solveable once we have RESOURCE_CREATE_SYNC. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14900>
2022-03-24pvr: Gate offline compiler build behind -Dtools=imaginationMatt Coster1-1/+1
This matches the behavior of e.g. panfrost's bifrost_compiler target. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15284>
2022-03-22pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUsFrank Binns1-1/+7
Co-authored-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Co-authored-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Co-authored-by: Simon Perretta <simon.perretta@imgtec.com> Co-authored-by: Alexander Wasey <Alexander.Wasey@imgtec.com> Signed-off-by: Frank Binns <frank.binns@imgtec.com> Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Signed-off-by: Alexander Wasey <Alexander.Wasey@imgtec.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15243>
2022-03-21intel: Add a little OpenCL C compiler binaryJason Ekstrand1-0/+6
v2: Fix up indentation (Marcin) s/gen/gfx/ (Marcin) Deal with fd closing in success/fail cases (Marin) Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13171>
2022-03-17util/disk_cache: rename MESA_GLSL_CACHE envvarJuan A. Suarez Romero1-3/+3
Rename MESA_GLSL_CACHE to MESA_SHADER_CACHE, as the on-disk cache can store not only GLSL but also SPIR-V shaders. v2: - Keep old envvar as deprecated (Mike) Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390>
2022-01-27ci: Use a dlclose-disabling preload library for leak checking in Vulkan.Emma Anholt1-1/+1
For GL, we disable the dlclose() call on the driver in asan builds so that leak reports get proper backtraces. For Vulkan, the dlclose() happens from libvulkan so you need a bigger hammer to keep our drivers loaded. Acked-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14235>
2021-12-06gallium/swr: Remove common code and build optionsJan Zielinski1-14/+1
This commit removes all OpenSWR references from common Mesa code and build system. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11264>
2021-12-03classic/i965: Remove driverDylan Baker1-15/+1
Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-12-03classic/i915: Remove driverDylan Baker1-1/+1
This is only going to be supported in the Amber branch Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-12-03classic/nouveau: Remove driverDylan Baker1-1/+1
This will now only be available in the Amber branch Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-12-03classic/r200: Delete driverDylan Baker1-1/+1
This will now only be available on the Amber branch Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-12-03classic/r100: Delete driverDylan Baker1-1/+1
This is now only going to be available in the Amber branch Reviewed-by: Emma Anholt <emma@anholt.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-12-03mesa/x11: Remove the swrast-classic-based fake libGLAdam Jackson1-1/+1
If you want this you will almost certainly be happier with the gallium version, giving you llvmpipe instead of swrast-classic. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10153>
2021-11-09meson: allow building with vulkan beta extensions enabled.Dave Airlie1-0/+6
This is just a precursor to anyone enabling beta stuff later. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13685>
2021-10-06meson_options: Bump max value of platform-sdk-version to 31Roman Stratiienko1-1/+1
During building Android-12, the following error appears: meson.build:21:0: ERROR: New value 31 is more than maximum value 30. Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Acked-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13216>
2021-09-21meson: introduce option vmware-mks-stats controlling the instrumentations of ↵Martin Krastev1-0/+6
gallium svga driver The new boolean option controls the instrumentations of gallium svga driver for mksGuestStats. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com> (cherry picked from commit 57760b7fe4eeb80acc8d6cd8bf6ec609a11a11dc) (cherry picked from commit 12aed00f08bd95afd605cab34c833e81a4957dbd) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12873>
2021-07-21meson: allow egl_native_platform to be specifiedChia-I Wu1-0/+10
After commit f8dc22bf61c, it was no longer possible to have explicitly enabled platforms with surfaceless being the EGL native platform. This fixes that by adding -Degl-native-platform. Fixes: f8dc22bf61c ("meson: drop deprecated EGL platform build options") Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992>
2021-07-06meson: Add a GBM backends search path build optionJames Jones1-0/+6
This is the list of locations where GBM will look for alternate backend implementations based on the DRM driver name. It defaults to $libdir/gbm. On Android, this path is currently hard-coded to /vendor/lib[64]/gbm. Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9902>
2021-06-28mesa/shaderapi: add an optional shader override mechanismPierre-Eric Pelloux-Prayer1-0/+6
MESA_SHADER_READ_PATH is handy but it's not usable in all cases. This commit allows to implement an alternative mechanism without assuming too much about how it's done, nor where/how the shaders are stored. When this is enabled MESA_SHADER_DUMP_PATH, MESA_SHADER_CAPTURE_PATH and MESA_GLSL env var handling is disabled. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11621>
2021-06-23meson/crocus: add prefer-crocus option.Dave Airlie1-0/+6
This just allows picking crocus without having to set the env var. Acked-by: Alyssa Rosenzweig <alyssa@collabora.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11353>
2021-06-22panfrost: Add a Vulkan driver for Midgard/Bifrost GPUsBoris Brezillon1-1/+1
Based on turnip. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Acked-by: Kristian H. Kristensen <hoegsberg@google.com> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11139>
2021-06-14crocus: initial gallium driver for Intel gfx 4-7Dave Airlie1-1/+1
This is a gallium driver for the Intel gfx 4-7 GPUs. It was initially cloned from the iris driver by Ilia Mirkin, then I ported over large reams of code from i965 until it worked. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11146>
2021-06-09add execmem build optionJohn Bates1-1/+7
The execmem option can be set to false to disable the dynamic dispatch patching that requires mmap(PROT_WRITE | PROT_EXEC), which is undesirable on some platforms. Signed-off-by: John Bates <jbates@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10987>
2021-06-04zink: Fix MacOS compiling issuesDuncan Hopkins1-0/+6
Add a moltenvk-dir build option to supply the MacOS Vulkan SDK MoltenVK location. Force compiler, for zink only, into object-c mode when MoltenVK is used to allow for the MacOS ioSurface and CAMetalLayer types that the headers expose. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11129>
2021-05-19d3d10umd,d3d10sw: Initial import.Jose Fonseca1-0/+6
This change adds a gallium D3D10 state tracker that works as a WDDM UMD software driver, similar to Microsoft WARP, but using llvmpipe/softpipe. The final deliverable is a d3d10sw.dll, which is similar to WARP's d3d10warp.dll. This has been used to run Microsoft Windows HCK wgf11* tests with llvmpipe, and they were at one point passing 100%. Known limitations: - TGSI (no NIR) - D3D10 only (no D3D11 support yet) - no WINE integration (WINE doesn't implement WDDM DDI.) For further details see: - src/gallium/frontends/d3d10umd/README.md - src/gallium/targets/d3d10sw/README.md v2: Drop the DXBC-based disassembly. Add missing break statements. v3: Incorporate Jesse's feedback. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10687>
2021-05-13Default enable SSE2 on mesa builds.Ryan Houdek1-1/+1
With the idea of branching classic device support in to its own tree now would be a good time to also raise the minimum requirements to something that is more "modern" on x86. SSE2 was introduced in 2000(!) by default let's make it the minimum spec now All the old hardware that is moving to the maintenance branch will finally be out of the way. For the 64-bit side of the discussion there isn't much changed. * GCC already enables -msse and -msse2 by default * Same with clang * fpmath=sse might remove some extraneous x87 usage ** Clang implies fpmath=sse ALWAYS For the 32-bit side of things is where the exciting details change * GCC by default doesn't enable sse1 or sse2 ** Does all `float`, `double`, and `long double` math with x87 ** -msse2 enables sse2 and sse1, gcc still uses x87 even with those enabled ** -mfpmath=sse moves away from using x87 and instead uses sse1 and sse2 * Clang already default enables sse1/sse2 which then turns on their implied fpmath=sse What does this mean for users? On Linux raises the default minimum processor spec to SSE2 supporting CPUs * Intel requirements raise from P5 (1993) to Netburst (2000) * AMD requirements raise from Athlon(1999/2000) to Athlon 64 (2003) * Via requirements raise from C3(2001) to C7 (2005) What does it mean for package maintainers? For x86-64 distributions that have i386/i686 multilib, then nothing changes. You're already on a platform guaranteed to support SSE2. For i386/i686 distributions they will need to weigh their min spec against this. Not sure how many still support classic processors. Who is left out in the cold? * Intel Quark (2013) ** Embedded board, doesn't have a GPU, Technically has 1x PCIe 2.0 lane that someone could plug a GPU in to * Some older transmeta CPUs, but they had a followup that also had SSE2. ** Anyone hacking on these with a modern GPU? I'm guessing they know how to turn this option off Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9868>
2021-05-10freedreno: Add freedreno pps driverRob Clark1-1/+1
Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com> Acked-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9901>
2021-05-07pps: Gfx-pps v0.3.0Antonio Caggiano1-1/+8
Add the gfx-pps backbone in `src/pps`. v2: Simplify supported drivers creation. v3: No default getter is provided for counters. v4: Open DRM device in read/write mode. v5: Wait for datasource to be started. v6: Set FIFO scheduler while sampling counters. Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com> Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Rob Clark <robdclark@chromium.org> Reviewed-by: John Bates <jbates@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9652>
2021-05-07util: Perfetto SDK v15.0Antonio Caggiano1-0/+6
Add Perfetto SDK v15.0 as a dependency using a meson wrap. Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by: Emma Anholt <emma@anholt.net> Reviewed-by: Rob Clark <robdclark@chromium.org> Reviewed-by: John Bates <jbates@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9652>
2021-05-02asahi: Add Gallium driverAlyssa Rosenzweig1-1/+1
Forked from noop, with some code from Panfrost. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
2021-05-02asahi: Stub command-line compiler for AGX G13BAlyssa Rosenzweig1-1/+1
Based on the Bifrost standalone compiler, which was based on Midgard's standalone compiler, which was based on Freedreno's standalone compiler, which was..... It's like sour dough! Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
2021-04-19meson: Increase Android Platform SDK version limitBilly Laws1-1/+1
This is required to allow building with support for newer whitelisted extensions such as VK_KHR_performance_query. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9878>
2021-04-08venus: add driver skeletonChia-I Wu1-1/+1
It only has enough stubs to be loadable by the loader. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Ryan Neph <ryanneph@google.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5800>
2021-03-25intel: Add null hw layerLionel Landwerlin1-1/+1
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2832>
2021-03-25meson: switch vulkan layer to list of choicesLionel Landwerlin1-10/+5
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2832>
2021-03-19Revert "meson: add enable-glcpp-tests option"Michel Dänzer1-6/+0
This reverts commit f9ae947e7272897bc31b0ec9dca3be0d7ab33119. Not needed anymore. Reviewed-by: Dylan Baker <dylan.c.baker@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528>
2021-02-25meson/gallium: Add an option to not use LLVM for gallium draw moduleJesse Natalie1-0/+6
We'd like to use one Mesa build environment which builds our CL compiler stack (which needs Clang/LLVM) and which builds our GL driver. The GL driver doesn't really need LLVM support, and since we're statically linking LLVM, removing it from the driver drastically reduces our DLL size on disk. Acked-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9259>
2021-01-28meson: add enable-glcpp-tests optionMike Blumenkrantz1-0/+6
these are too intermittent to be left enabled on CI for now Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8738>
2020-12-31swrast: Remove the classic swrast DRI driverAdam Jackson1-1/+1
Following up from the classic swrast OSMesa removal in favor of llvmpipe/softpipe, remove the classic swrast DRI driver. It's unused by any distribution -- debian was the last holdout until this week, which had it enabled instead of softpipe on obscure platforms (non-LLVM and hurd). Now that debian has switched, remove the driver so nobody can accidentally enable it again. Fixes: #325, #324, #322, #321, #319, #318, #317, #315, #313, #311, #310, #306, #305, #304, #302, #301, #300, #299, #298, #297, #293, #289 Reviewed-by: Eric Anholt <eric@anholt.net> (commit message rewritten) Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8069>
2020-12-22microsoft/compiler: Add dedicated spirv_to_dxil librariesMichael Tang1-0/+6
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8043>
2020-12-10mesa: Retire classic OSMesa.Eric Anholt1-3/+2
The classic OSMesa renders directly into user memory using src/mesa/swrast, while gallium OSMesa renders using softpipe or llvmpipe and copies out at glFlush() time. This would make gallium look like a worse choice for OSMesa, except that swrast is: 1) Painfully slow to render compared to llvmpipe 2) Incorrect at derivatives 3) Limited to GL 2.1 instead of GL 4.6 In my survey of OSMesa users, debian was the remaining holdout with classic OSMesa in use on hurd and some rare non-LLVM-supported architectures (sh4, alpha, etc.). As of today, they've switched to softpipe-based gallium OSMesa for them. To prevent people from running the wrong OSMesa (to the extent that running OSMesa can ever be the right thing), delete the classic version. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Closes: #320 Closes: #877 Closes: #2297 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1243>
2020-12-08meson: fix multiline string warningMichel Zou1-2/+2
gets rid of: WARNING: Newline character in a string detected, use ''' (three single quotes) for multiline strings instead. Reviewed-by: Yevhenii Kharchenko <yevhenii.kharchenko@globallogic.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7946>
2020-12-03meson: Make the glvnd vendor name configurableAdam Jackson1-0/+6
Leave the default as "mesa", but this enables parallel Mesa installs. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7674>
2020-12-03meson.build: Disable zlib as per -Dzlib optionNeha Bhende1-0/+6
Disable use of zlib as per -Dzlib option. Default value is true. To disable zlib usage, specify -Dzlib=false Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Zack Rusin <zackr@vmware.com Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7806>
2020-12-03meson.build: Use SSE math for MinGW X86 build as per sse2 optionNeha Bhende1-0/+6
This patch adds missing compiler flags to build 32bit driver. It helps to build 32bit using mingw successfully Generated GL driver is tested using piglit, glretrace, conform and some opengl apps Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7806>
2020-12-02clover: Add opencl-native build flagJesse Natalie1-0/+6
This flag controls whether to include native codegen functionality for the AMD backend Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680>
2020-12-02meson: Add build option to specify default shader disk cache max-sizeYevhenii Kharchenko1-0/+11
Added an optional 'shader-cache-max-size' build option to meson, which sets default value of max disk cache size for compiled GLSL programs. Can be overriden by 'MESA_GLSL_CACHE_MAX_SIZE' environment variable. Syntax is the same as environment variable has: a number optionally followed by K, M, G to specify a size in kilobytes, megabytes, or gigabytes. By default, gigabytes will be assumed. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3572 Signed-off-by: Yevhenii Kharchenko <yevhenii.kharchenko@globallogic.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: John Bates <jbates@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7217>
2020-11-23meson: use a feature option for microsoft-clcDylan Baker1-2/+1
It's less code and makes the configuration easier to fine tune. Fixes: ff05da7f8dc4aa531704d48f718514e3b1fff45d ("microsoft: Add CLC frontend and kernel/compute support to DXIL converter") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7699>