summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorGiuseppe Bilotta <[email protected]>2015-03-22 07:21:00 +0100
committerTom Stellard <[email protected]>2015-03-23 13:25:34 +0000
commit31d4e6fbffb0c5bcaf92e2c2953f58dc072295d6 (patch)
tree0427f7664dc09993641591654af339f5c2fc20a0 /src/gallium/include
parent9280f17e823cbdbddf30a4ae5e2de9f2d327d33c (diff)
gallium: introduce get_device_vendor() entrypoint for pipes
This will be needed by Clover to return the correct information to CL_DEVICE_VENDOR info queries. Signed-off-by: Giuseppe Bilotta <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 4018f8a436a..21e7dd35ec0 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -72,6 +72,14 @@ struct pipe_screen {
const char *(*get_vendor)( struct pipe_screen * );
/**
+ * Returns the device vendor.
+ *
+ * The returned value should return the actual device vendor/manufacturer,
+ * rather than a potentially generic driver string.
+ */
+ const char *(*get_device_vendor)( struct pipe_screen * );
+
+ /**
* Query an integer-valued capability/parameter/limit
* \param param one of PIPE_CAP_x
*/