From: Giuseppe Bilotta Date: Sun, 22 Mar 2015 06:21:02 +0000 (+0100) Subject: clover: use get_device_vendor instead of get_vendor X-Git-Tag: upstream/17.1.0~19852 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7932b30892ef898ec4c74ac1f972cb462f19962b;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Michel Dänzer Reviewed-by: Francisco Jerez --- diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp index c3f3b4e..42b45b7 100644 --- a/src/gallium/state_trackers/clover/core/device.cpp +++ b/src/gallium/state_trackers/clover/core/device.cpp @@ -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