Mesa (master): swrast: add DRM_DRIVER_DESCRIPTOR to store driver name

Vadim Girlin vadimg at kemper.freedesktop.org
Thu Aug 23 16:18:56 UTC 2012


Module: Mesa
Branch: master
Commit: 6547733593f137e5e6e024a6084d4c04ca2abc34
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6547733593f137e5e6e024a6084d4c04ca2abc34

Author: Vadim Girlin <vadimgirlin at gmail.com>
Date:   Wed Aug 22 20:20:04 2012 +0400

swrast: add DRM_DRIVER_DESCRIPTOR to store driver name

---

 src/gallium/targets/dri-swrast/swrast_drm_api.c |    3 +++
 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 8d741c6..a8973fd 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)




More information about the mesa-commit mailing list