summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorSerge Martin <[email protected]>2016-02-13 23:39:22 +0100
committerSamuel Pitoiset <[email protected]>2016-02-14 11:00:29 +0100
commita4cff1859efedac37368c1ddc55b091b6cd3eb65 (patch)
tree537bf1ac2efbb2773175d700335a5122e1c6e66d /src/gallium/state_trackers
parent565aa69970ccb0e92c9d5773c43d9b49e7bdb8e4 (diff)
clover: fix build failure since bfd695e
Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index 41b38521474..8396be91553 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -76,9 +76,9 @@ kernel::launch(command_queue &q,
exec.g_buffers.data(), g_handles.data());
// Fill information for the launch_grid() call.
- info.block = pad_vector(q, block_size, 1).data(),
- info.grid = pad_vector(q, reduced_grid_size, 1).data(),
- info.pc = find(name_equals(_name), m.sysm).offset;
+ copy(pad_vector(q, block_size, 1), info.block);
+ copy(pad_vector(q, reduced_grid_size, 1), info.grid);
+ info.pc = find(name_equals(_name), m.syms).offset;
info.input = exec.input.data();
q.pipe->launch_grid(q.pipe, &info);