Giuseppe Bilotta <giuseppe.bilo...@gmail.com> writes: > 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.
For this patch: Reviewed-by: Francisco Jerez <curroje...@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 > -- > 2.1.2.766.gaa23a90 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev