From: Francisco Jerez Date: Sat, 12 May 2012 17:33:33 +0000 (+0200) Subject: clover: Fix build on i386. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b70736fa82c29e83a5ad222f58cfe8aa3b910c88;p=mesa.git clover: Fix build on i386. --- diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp index 59e43af075d..1f40010b019 100644 --- a/src/gallium/state_trackers/clover/core/device.cpp +++ b/src/gallium/state_trackers/clover/core/device.cpp @@ -146,7 +146,8 @@ _cl_device_id::max_threads_per_block() const { std::vector _cl_device_id::max_block_size() const { - return get_compute_param(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + auto v = get_compute_param(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + return { v.begin(), v.end() }; } std::string