gallium: move driinfo XML to pipe_loader

We will switch to the pipe_loader loading the configuration options,
so that they can be passed to the driver independently of the state
tracker.

Put the description into its own file so that it can be merged easily
with driver-specific options in future commits.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Nicolai Hähnle
2017-06-29 17:37:18 +02:00
parent bc7f41e11d
commit 678dadf123
6 changed files with 46 additions and 40 deletions

View File

@@ -31,6 +31,7 @@
#include "util/u_memory.h"
#include "util/u_string.h"
#include "util/u_dl.h"
#include "util/xmlpool.h"
#ifdef _MSC_VER
#include <stdlib.h>
@@ -46,6 +47,10 @@ static int (*backends[])(struct pipe_loader_device **, int) = {
&pipe_loader_sw_probe
};
const char gallium_driinfo_xml[] =
#include "driinfo_gallium.h"
;
int
pipe_loader_probe(struct pipe_loader_device **devs, int ndev)
{