mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 17:40:32 +01:00
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 <giuseppe.bilotta@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
9280f17e82
commit
31d4e6fbff
2 changed files with 14 additions and 0 deletions
|
|
@ -462,6 +462,12 @@ get_vendor
|
|||
|
||||
Returns the screen vendor.
|
||||
|
||||
get_device_vendor
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Returns the actual vendor of the device driving the screen
|
||||
(as opposed to the driver vendor).
|
||||
|
||||
.. _get_param:
|
||||
|
||||
get_param
|
||||
|
|
|
|||
|
|
@ -71,6 +71,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue