mesa/src/loader
Lionel Landwerlin 04dc6074cf driconfig: add a new engine name/version parameter
Vulkan applications can register with the following structure :

typedef struct VkApplicationInfo {
    VkStructureType    sType;
    const void*        pNext;
    const char*        pApplicationName;
    uint32_t           applicationVersion;
    const char*        pEngineName;
    uint32_t           engineVersion;
    uint32_t           apiVersion;
} VkApplicationInfo;

This enables the Vulkan implementations to apply workarounds based off
matching this description.

Here we add a new parameter for matching the driconfig options with
the following :

    <device driver="anv">
        <application engine_name_match="MyOwnEngine.*" engine_versions="10:12,40:42">
            <option name="blaaah" value="true" />
        </application>
    </device>

v2: switch engine name match to use regexps

v3: Verify that the regexec returns REG_NOMATCH for match failure (Eric)

v4: Add missing bit that went to the following commit (Eric)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: 19.2 <mesa-stable@lists.freedesktop.org>
2019-09-15 15:37:02 +03:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c driconfig: add a new engine name/version parameter 2019-09-15 15:37:02 +03:00
loader.h loader: deduplicate logger function declaration 2018-12-04 16:29:32 +00:00
loader_dri3_helper.c dri: Use DRM_FORMAT_* instead of defining our own copy. 2019-09-11 13:05:10 -07:00
loader_dri3_helper.h loader/dri3: Enable adaptive_sync via _VARIABLE_REFRESH property 2018-12-28 16:44:47 +01:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
meson.build drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
pci_id_driver_map.c nouveau: allow NV3x's to be used with nouveau_vieux 2016-08-30 00:21:42 -04:00
pci_id_driver_map.h pci_id_driver_map: Support preferring iris over i965 2019-08-28 13:38:34 -07:00
SConscript loader: Factor out the common driver opening logic from each loader. 2018-11-16 17:49:17 -08:00