clover: Fix pipe_grid_info.indirect not being initialized.
[mesa.git] / src / gallium / state_trackers / clover / core / kernel.cpp
index 8396be915536111ebaeccc7e9aee0959ce4e8833..c12755b0420a8bf47d4e146b857374acfb1c34e6 100644 (file)
@@ -55,7 +55,7 @@ kernel::launch(command_queue &q,
    const auto reduced_grid_size =
       map(divides(), grid_size, block_size);
    void *st = exec.bind(&q, grid_offset);
-   struct pipe_grid_info info;
+   struct pipe_grid_info info = {};
 
    // The handles are created during exec_context::bind(), so we need make
    // sure to call exec_context::bind() before retrieving them.