[Mesa-dev] [PATCH 4/4] Clover: use get_device_vendor instead of get_vendor
Francisco Jerez
currojerez at riseup.net
Mon Mar 9 06:35:22 PDT 2015
Giuseppe Bilotta <giuseppe.bilotta at 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 <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
> --
> 2.1.2.766.gaa23a90
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150309/40dad560/attachment.sig>
More information about the mesa-dev
mailing list