diff options
author | Giuseppe Bilotta <[email protected]> | 2015-03-22 07:21:01 +0100 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2015-03-23 13:25:34 +0000 |
commit | 76039b38f0ef54ca61cbe72b899dfcf0f0c724e4 (patch) | |
tree | d81f03ca36eefac1481e85f9a570c90c34cb831a /src/gallium/drivers/softpipe/sp_screen.c | |
parent | 31d4e6fbffb0c5bcaf92e2c2953f58dc072295d6 (diff) |
gallium: implement get_device_vendor() for existing drivers
The only hackish ones are llvmpipe and softpipe, which currently return
the same string as for get_vendor(), while ideally they should return
the CPU vendor.
Signed-off-by: Giuseppe Bilotta <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_screen.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index a269328aff8..d289e28a6f8 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -427,6 +427,7 @@ softpipe_create_screen(struct sw_winsys *winsys) screen->base.get_name = softpipe_get_name; screen->base.get_vendor = softpipe_get_vendor; + screen->base.get_device_vendor = softpipe_get_vendor; // TODO should be the CPU vendor screen->base.get_param = softpipe_get_param; screen->base.get_shader_param = softpipe_get_shader_param; screen->base.get_paramf = softpipe_get_paramf; |