summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGiuseppe Bilotta <[email protected]>2015-03-22 07:21:02 +0100
committerTom Stellard <[email protected]>2015-03-23 13:25:34 +0000
commit7932b30892ef898ec4c74ac1f972cb462f19962b (patch)
tree0b84a4460ea5fafa306c7fcbdd96bb9a59f11fa4 /src
parent76039b38f0ef54ca61cbe72b899dfcf0f0c724e4 (diff)
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 <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/clover/core/device.cpp2
1 files changed, 1 insertions, 1 deletions
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