Mesa (master): clover: use get_device_vendor instead of get_vendor

Tom Stellard tstellar at kemper.freedesktop.org
Mon Mar 23 14:33:08 UTC 2015


Module: Mesa
Branch: master
Commit: 7932b30892ef898ec4c74ac1f972cb462f19962b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7932b30892ef898ec4c74ac1f972cb462f19962b

Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Sun Mar 22 07:21:02 2015 +0100

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 at gmail.com>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

---

 src/gallium/state_trackers/clover/core/device.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the mesa-commit mailing list