clover: use get_device_vendor instead of get_vendor
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 22 Mar 2015 06:21:02 +0000 (07:21 +0100)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 23 Mar 2015 13:25:34 +0000 (13:25 +0000)
commit7932b30892ef898ec4c74ac1f972cb462f19962b
tree0b84a4460ea5fafa306c7fcbdd96bb9a59f11fa4
parent76039b38f0ef54ca61cbe72b899dfcf0f0c724e4
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>
src/gallium/state_trackers/clover/core/device.cpp