clover: Fix pipe_grid_info.indirect not being initialized.
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Mar 2016 14:01:05 +0000 (15:01 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 14 Mar 2016 21:12:42 +0000 (14:12 -0700)
commit4d02e91e4938c98bcf9d4e57ab2e5463bb42e836
treecda5af30942a1e10b3b5ee15654b982518493ef1
parentaf06190760535c9e3cbd692477ec6951ec568079
clover: Fix pipe_grid_info.indirect not being initialized.

After pipe_grid_info.indirect was introduced, clover was not modified
to set it causing it to pass uninitialized memory for it to launch_grid.

This commit fixes this by zero-ing the entire pipe_grid_info struct when
declaring it, to avoid similar problems popping-up in the future.

Cc: "11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
[ Francisco Jerez: Trivial codestyle fix. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/kernel.cpp