summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/clover/core/kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/clover/core/kernel.cpp')
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index 266d50e6145..9231462b822 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -179,7 +179,7 @@ kernel::exec_context::bind(intrusive_ptr<command_queue> _q,
break;
}
case module::argument::grid_offset: {
- for (cl_uint x : pad_vector(*q, grid_offset, 1)) {
+ for (cl_uint x : pad_vector(*q, grid_offset, 0)) {
auto arg = argument::create(marg);
arg->set(sizeof(x), &x);