clover: use get_device_vendor instead of get_vendor

The pipe's get_vendor method returns something more akin to a driver
vendor string in most cases, instead of the actual device vendor. Use
get_device_vendor instead, which was introduced specifically for this
purpose.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Giuseppe Bilotta 2015-03-22 07:21:02 +01:00 committed by Tom Stellard
parent 76039b38f0
commit 7932b30892
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ device::device_name() const {
std::string
device::vendor_name() const {
return pipe->get_vendor(pipe);
return pipe->get_device_vendor(pipe);
}
enum pipe_shader_ir