meson/crocus: add prefer-crocus option.

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>
This commit is contained in:
Dave Airlie
2021-06-14 13:09:45 +10:00
committed by Marge Bot
parent ec7e262349
commit 17a1cc6163
3 changed files with 12 additions and 0 deletions

View File

@@ -445,6 +445,12 @@ option(
value : true,
description : 'Prefer new Intel iris driver over older i965 driver'
)
option(
'prefer-crocus',
type : 'boolean',
value : false,
description : 'Prefer new crocus driver over older i965 driver for gen4-7'
)
option('egl-lib-suffix',
type : 'string',
value : '',