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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user