summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-swrast
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-08-22 20:20:04 +0400
committerVadim Girlin <[email protected]>2012-08-23 19:57:50 +0400
commit6547733593f137e5e6e024a6084d4c04ca2abc34 (patch)
treef5ca43c5867c9baa160d6a4b5ae9c1e13081899a /src/gallium/targets/dri-swrast
parentb41f36bde778e6b11129f51de423b7c3aece26b4 (diff)
swrast: add DRM_DRIVER_DESCRIPTOR to store driver name
Diffstat (limited to 'src/gallium/targets/dri-swrast')
-rw-r--r--src/gallium/targets/dri-swrast/swrast_drm_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-swrast/swrast_drm_api.c b/src/gallium/targets/dri-swrast/swrast_drm_api.c
index 8d741c6343c..a8973fd6070 100644
--- a/src/gallium/targets/dri-swrast/swrast_drm_api.c
+++ b/src/gallium/targets/dri-swrast/swrast_drm_api.c
@@ -33,6 +33,9 @@
#include "target-helpers/inline_debug_helper.h"
#include "target-helpers/inline_sw_helper.h"
+#include "state_tracker/drm_driver.h"
+
+DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL);
struct pipe_screen *
drisw_create_screen(struct drisw_loader_funcs *lf)