swrast: add DRM_DRIVER_DESCRIPTOR to store driver name
authorVadim Girlin <vadimgirlin@gmail.com>
Wed, 22 Aug 2012 16:20:04 +0000 (20:20 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Thu, 23 Aug 2012 15:57:50 +0000 (19:57 +0400)
src/gallium/targets/dri-swrast/swrast_drm_api.c

index 8d741c6343c86db07c172d15e77cd4fa45a79146..a8973fd607051ba221a6d4abe32ecaaf66eac522 100644 (file)
@@ -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)