From 7932b30892ef898ec4c74ac1f972cb462f19962b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 22 Mar 2015 07:21:02 +0100 Subject: clover: use get_device_vendor instead of get_vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/state_trackers/clover/core/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp index c3f3b4e4275..42b45b7f2b8 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 -- cgit v1.2.3